Dear All,
I have a sever configured as a Netbackup Master server from where I manually expire tapes.
I use the following command to expire a tape:
sudo /usr/openv/netbackup/bin/admincmd/bpexpdate -m A00362 -d 0
Once I hit enter , it prompts me for a y or n:
sudo /usr/openv/netbackup/bin/admincmd/bpexpdate -m A00362 -d 0
Media A00362 is due to expire at 11/03/2013 21:41:32
Are you sure that the data on this media is not critical to
your business, and you are sure you want to delete A00362 y/n (n)?
I want to create a script that expires a certain amount of tapes. This script will run automatically using a cronjob.
How can I evade the input of 'y' all the time ? unless i do not type in y , it dosent progress.
Help.
