My favorite technote of all time, if slightly dated. =) http://seer.support.veritas.com/docs/236274.htm
Contains info on running cleanups manually, as well as info on a why-the-heck-isn't-it-a-default!!! touchfile. If you want to see what NetBackup has been doing for cleanup lately (all one line): egrep "Cleanup running in background|delete_expired_backups: deleted" /usr/openv/netbackup/logs/bpdbm/log.* -John Nardello -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aleksandr Nepomnyashchiy Sent: Friday, April 18, 2008 11:52 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] How to regain disk space from failed backup to DSU Norman, Thank you for your reply. Looks like bpimage from NetBackup 3.4 doesn't have "-cleanup" option... I am a bit scared to remove the files myself. Veritas document 875-1921-10 "Datacenter 3.4 System Administrator Guide UNIX" doesn't even list bpimage in "NetBackup Commands" chapter :). [EMAIL PROTECTED] /usr/local/nagios2/local/conf/mtpMonitor # /netbackup/openv/netbackup/bin/admincmd/bpimage bpimage: -[de]compress [-allclients | -client <name>] bpimage: [-M <master_server,...,master_server>] bpimage: -npc <copy #> -backupid <backup_id> [-client <name>] bpimage: -newserver <name> [-oldserver <name>] [-id <id>] bpimage: -deletecopy <#> -backupid <backup_id> bpimage: -testlock <#> -backupid <backup_id> bpimage: -prunetir [-allclients | -client <name>] bpimage: -create_image_list -client <name> bpimage: -index <n> -client <name> bpimage: -wff <path bytes> -backupid <backup_id> [-client <name>] bpimage: -update [-secinfo <[0|1]> | -rfile <[0|1]> | -filesysonly <[0|1]> | -numfiles <number> | -keyword "keyword phrase" | -objdesc <string>] [-client <name> -class <name> -t <type> -d mm/dd/yyyy hh:mm:ss] [-client <name> -d mm/dd/yyyy hh:mm:ss] [-id <backup_id>] [EMAIL PROTECTED] /usr/local/nagios2/local/conf/mtpMonitor # Aleksandr On Fri, Apr 18, 2008 at 9:39 AM, <[EMAIL PROTECTED]> wrote: > > If you manually delete anything from disk I would highly suggest running a > bpimage -cleanup so that your catalog is consistent. This is suppose to > happen automatically but you may want to look at the command guide for the > specific options so that it doesn't take so long to complete i.e. specifying > client name or backup ID. Also, depending on how you are backing up to disk, > you may not be able to realize your space savings until your disk appliances > complete a cleaning cycle. For example, if you are using Data Domain > devices, simply deleting the images from disk will not give you back that > space. You have to allow the devices to complete a full cleaning cycle which > is a 10 phase process and let me tell you,,,,, it can take a LONG TIME!! > This of course depends on the amount of data you are purging. For the > specific case with Data Domain devices, we do not use them with the VTL > option so while it would still be true that a cleaning cycle would still > need to complete the time that takes may be different. > > Can any other Data Domain users out there add any color here?? > > > > > > > > > Dave Markham <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > > 04/18/2008 07:04 AM > > Please respond to > [EMAIL PROTECTED] > > > To Aleksandr Nepomnyashchiy <[EMAIL PROTECTED]> > > cc > veritas-bu@mailman.eng.auburn.edu > > Subject Re: [Veritas-bu] How to regain disk space from failed backup to DSU > > > > > > Aleksandr Nepomnyashchiy wrote: > > Dear Gurus, > > My apologies - it is probably very simple question. > > > > Files from failed backup to Disk Storage Unit are taking space (which > > I need immediately for other backups). How I can reclaim the space > > back? > > > > Thank you, > > Aleksandr > > _______________________________________________ > > Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu > > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu > > > > > Try expiring the image or crudely just deleting the image files from the > disk location > > D > _______________________________________________ > Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu > > > > Own the landmark Planet Earth series on DVD! Find more great gifts by > shopping online at http://discoverystore.com > > This e-mail, and any attachment, is intended only for the person or entity > to which it is addressed and may contain confidential and/or privileged > material. Any review, re-transmission, copying, dissemination or other use > of this information by persons or entities other than the intended recipient > is prohibited. If you received this in error, please contact the sender and > delete the material from any computer. The contents of this message may > contain personal views which are not the views of Discovery Communications, > LLC. _______________________________________________ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu _______________________________________________ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu