Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

backup.. appending problem.

Status
Not open for further replies.

teknoguy

Technical User
Feb 1, 2001
182
CA
currently our backup solution is simple. 5 disks for mon-fri. every day the data should over written, but the data is appended to the previous backup. i just want the backup to overwrite the whole disk and not append to it. is there a method?

thanks.

 
here is a little more info.

ive tryed to set it up so the five tapes get automatically recycled (through the GUI) on the day of their backup. but its not working, data still appends to end of data from previous backup.

Is there a commmand line util i can use.. im looking at mminfo, and nsrmm right now. can't seem to find any info.

any suggestions would be great

 
here is a script you can run. It requires UNIX or cygwin for windows

date1=`date '+%m-%d-%Y'`
nsrjb -I
mminfo -s usr-p-backup -r volume -q "pool=POOL,location=JUKEBOX" -q "written>=1" >$date1.out

cat $date1.out |while read line
do
nsrmm -s usr-p-backup -q -o recyclable $line <yes.in
done


then create a file called yes.in with one line that has a y (lower case)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top