Amanda-Users

Re: problem deleting DLE from backup

2008-05-12 07:36:43
Subject: Re: problem deleting DLE from backup
From: Mister Olli <mister.olli AT googlemail DOT com>
To: Jean-Louis Martineau <martineau AT zmanda DOT com>
Date: Mon, 12 May 2008 13:25:23 +0200
hi....

> I tested with latest version and it works, Which version are you using?
I'm currently using 2.5.1p3


> You can remove the "192.168.95.225" directory from the 'curinfo' 
> directory, that's what the delete command do.
hm ok, I'm gonna give that a try.


> Why do you want to do that?
cause the host does not exist anymore. so there's no need to backup the
system, and the recorded data is useless for me.

oh by the way, does deleting a DLE also delete the used tape space, if
you use vtapes?

regards,

olli


> 
> Jean-Louis
> 
> Mister Olli wrote:
> > hi list...
> >
> > I have the following problem when trying to delete all DLE for host
> > 192.168.95.225
> >
> > [amanda@backup /tmp/amanda/server/weekly]$ amadmin weekly find 192*
> > Argument '192*' match neither a host nor a disk.
> >
> > date       host           disk lv tape or file  file part status
> > 2008-04-20 192.168.95.225 /     0 weekly          26    1 OK
> > 2008-04-27 192.168.95.225 /     0 weekly          20    1 OK
> > 2008-05-04 192.168.95.225 /     0 weekly          25    1 OK
> > 2008-04-20 192.168.95.225 /usr  0 weekly          24    1 OK
> > 2008-04-27 192.168.95.225 /usr  0 weekly          18    1 OK
> > 2008-05-04 192.168.95.225 /usr  0 weekly          24    1 OK
> > 2008-04-20 192.168.95.225 /var  0 weekly          25    1 OK
> > 2008-04-27 192.168.95.225 /var  0 weekly          25    1 OK
> > 2008-05-04 192.168.95.225 /var  0 weekly          26    1 OK
> > [amanda@backup /tmp/amanda/server/weekly]$ amadmin weekly delete
> > 192.168.95.225
> > Argument '192.168.95.225' match neither a host nor a disk.
> > amadmin: no disk matched
> > [amanda@backup /tmp/amanda/server/weekly]$ amadmin weekly delete
> > 192.168.95.225 /
> > Argument '192.168.95.225' match neither a host nor a disk.
> > Argument '/' match neither a host nor a disk.
> > amadmin: no disk matched
> > [amanda@backup /tmp/amanda/server/weekly]$ exit
> > [root@hdb-bak-001 /tmp/amanda/server/weekly]#  amadmin weekly delete
> > 192.168.95.225
> > amadmin: ERROR: running as user "root" instead of "amanda"
> > [root@backup /tmp/amanda/server/weekly]# 
> >
> > Can anyone help me out on this? I don't understand why I can find the
> > DLE but can not delete them.
> >
> > regards,
> > olli
> >
> >   
> 


<Prev in Thread] Current Thread [Next in Thread>