03-20-2014 05:35 AM
Hello All,
environment
master-media server: Redhat 2.6
client windows 2008 R2
Netbackup 7.1
Question:
Assume With standart backup I'm backing up the folder C:\data1
Is there any option on netbackup like automatically delete the files under C:\data1 folder after backup finished successfully??
With BR,
Turgun
Solved! Go to Solution.
03-20-2014 05:57 AM
Change Schedule Type to User Archive
Note this will back up and remove ALL files in the Backup Selections list
03-20-2014 05:57 AM
Change Schedule Type to User Archive
Note this will back up and remove ALL files in the Backup Selections list
03-20-2014 05:58 AM
What you are looking at is archiving - but that is done as a user archive and performed from the client itself
To do it from a normal backup you would need to use a bpend_notify.bat on the client and get that to run the delete once the backup completes .. but you would need to make sure it only did the delete if the status was zero (that status is passed to the notify script) - and also that it only ran for that specific policy .. so something like bpend_notify.deletepolicyname.bat
Hope this gives some ideas
04-08-2014 03:09 AM
Thank you Mark..it is also good idea!!