Is there a crontab script to copy backup contents onto tape over the night? As I have noticed when I am performing backups onto the tape, the overall system performance degrades.
K, you should be able to write your own script using something like consecutive ufsdump commands. If you're going to backup things like Oracle, you'll probably be well advised to shutdown your instances whilst the backup takes place. Post back if you need advice on how to construct such a script. Regards.
Basically, I do online oracle backups but would like to copy this backups onto tape for safe keeping so therefore need shell script to do the task, any suggestions or experience would be greatly appreciated.
when you do a warm backup of the tablespaces , you probably already know this , it just puts a freeze on the tabalespaces , so you have to backup the datafiles onto tape . you can put individual tablespaces in backup mode
and back them up separately OR you can put all tablespaces in one filesystem and put all of them in backup mode and then backup the filesystem.
You can use the backup command to backup the filesystem or files
I dont think I am explaining this well, basically the situation is I have a scheduled script to run every night doing logical backups (export) and hot backups, the backups are then stored in a separate filesystem /backup for both logical and physical backups.
What I would like to do is to have TWO backups for safe keeping - one copy on server and another copy on tape but I have found by copying them onto tape during the day i.e. system operating hours it degrades the performance of the whole system so ideally it would have to be done over night.
So I wonder is there a script to copy the backup files onto tape (from /backup filesystem etc)?
I am doing something similar manually now. Tar will not work w/ files over 2 Gig so I am using a backup of the dir to tape. This should work in a script or cron as well.
find . -print | backup -iq -f /dev/rmt0.1
This also allows me to stop the tape after each backup and continue copying later for multiple backups.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.