prune2. Tomorrow if the full backup succeeded how do I get rid of the old volume so that bacula knows about it and doesn't try to access it later. The Prune command allows you to safely remove expired database records from Jobs and Volumes. This command works only on the Catalog database and does not affect data written to Volumes. In all cases, the Prune command applies a retention period to the specified records. You can Prune expired File entries from Job records; you can Prune expired Job records from the database, and you can Prune both expired Job and File records from specified Volumes. prune files—jobs—volume client=<client-name> volume=<volumename> For a Volume to be pruned, the VolStatus must be Full, Used, or Append, otherwise the pruning will not take place. purge The Purge command will delete associated Catalog database records from Jobs and Volumes without considering the retention period. Purge works only on the Catalog database and does not affect data written to Volumes. This command can be dangerous because you can delete catalog records associated with current backups of files, and we recommend that you do not use it unless you know what you are doing. The permitted forms of purge are: purge files jobid=<jobid>—job=<job-name>—client=<clientname> purge jobs client=<client-name> (of all jobs) purge volume—volume=<vol-name> (of all jobs) For the purge command to work on Volume Catalog database records the VolStatus must be Append, Full, Used, or Error. The actual data written to the Volume will be unaffected by this command. Afterwards, delete the actual physical file if you need to recover the disk space. ------------------------------- Robert Du Gaue President/CEO CalWeb Internet Services, Inc. (916) 641-9320 ------------------------------- |
------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users