unmanned probackup

i am trying to do a cron , auto backup to disk

#probackup dbname -com > /test/dbnamebk < /2ndfilename

(2ndfilename contains the name of next file name requested)
i used this b4 and no problem. now 6 years later i am doing again and its 3 files, ie over 4.x gig.

i have tried <<2ndfilename and also
< 2ndfilename < 3rdfilename

all works fine until system want 3rd file name, it just loops.
any ideas? an ampersand, slash, xmas pudding?
 
Hello customprogress,
maybe it's easy.

Your file should contain one line for every backup file, something like:

/db_save/yourdb-20061220.sav002
/db_save/yourdb-20061220.sav003
/db_save/yourdb-20061220.sav004


In this case you can have up to 4 files, one from the command line and 3 from the input file.

Regares
Klaus
 
Create a file with a list of backup extent names in it.

Redirect input from that file.

Add more extent names to the file at your leisure ;) Or starts out with more than you will ever need.

(Use the same file for restores.)
 
Back
Top