I’ve not run into any problems.   I do wait till the partial dump is several 
days old, to make sure 
amanda refuses to flush it.   Any other readers care to comment?

Deb Baddorf


> On Aug 4, 2016, at 1:06 AM, Chaerin Kim <[email protected]> wrote:
> 
> Hello, Debra.
> Thank you for responding to my question.
> 
> I have a more question.
> If I remove partial dumps in holding disk by running "rm -rf treename",
> aren't there any problem to running Amanda later?
> I saw *.tmp files related the partial dumps in index directory when I tested 
> about this problem, 
> and I think it's possible to be created any other related files. 
> Don't I have to remove these tmp files?
> 
> Regards,
> Chaerin.
> 
> 
> 2016-08-04 1:33 GMT+09:00 Debra S Baddorf <[email protected]>:
> 
> > On Aug 2, 2016, at 9:55 PM, Chaerin Kim <[email protected]> wrote:
> >
> > Hello.
> >
> > I have a question about cleaning up holding disk.
> > For cleaning up holding disk, do I have to run amflush command?
> >
> > I don't want to waste a tape by flushing incomplete backup image remaining 
> > in holding disk.
> > So, I searched on the internet and found this page in zmanda forum.
> > (https://forums.zmanda.com/showthread.php?1565-Reset-Amanda-and-remove-holding-files)
> 
> 
> > An Amanda hacker said, 'You can manually remove the data on the holding 
> > disk (rm -rf ) and run "amcleanup" after that.'.
> > So, I tried it.
> > But amcleanup returned following message and didn't do anything.
> > "amcleanup: no unprocessed logfile to clean up.”
> 
> If you have AUTOFLUSH  set to ALL or YES (the latter flushes only the DLEs 
> listed on the dump command;  so if you are
> re-doing only SOME of your DLEs,  then setting AUTOFLUSH  to YES  will only 
> put  *those*same*  DLEs onto the tape;
> I prefer to set it to ALL)
> then it should flush to tape those dumps which are still valid.
> 
> Dumps which were partial,  and will never be run onto the tape  (ie you find 
> them there several days later, and amanda
> has not flushed them)  —  Yeah,  I just run   “rm -fr  treename”
> Amcleanup doesn’t seem to be needed at this point, since amanda has already 
> rejected the dumps.
> 
> I’m only told to use amcleanup when I control-C  a backup,  or do something 
> else weird  (a machine crash in the middle
> would probably look the same).    So,  if  “AMCLEANUP  <CONFIG>” **  gives no 
> replies,  then you are fine.
> 
> **    (I’m capitalizing some of the above commands to avoid spellcheck.  
> Don’t capitalize them yourself!)
> 
> Deb Baddorf
> Fermilab
> 
> > I tried to executing amcleanup with every options, but the result was same.
> >
> > According to man page of amcleanup, amcleanup with '-r' option remove bad 
> > files in holding disk.
> > What is the bad files?
> > And what should I do to remove remaining data caused by failure backup in 
> > holding disk?
> > Are there any recommended way about cleaning up holding disk in Amanda?
> >
> > Please answer my question.
> >
> > Regards,
> > Chaerin.
> 
> 
> 


Reply via email to