Link to home
Start Free TrialLog in
Avatar of naufal
naufalFlag for Pakistan

asked on

backup script

i want to have a backup script which takes a full backup as well as an incremental backup of a system on a tape drive. It should have an error detection as well i.e if the system does not find any tape in a drive for example it should prompt for it.
Avatar of yuzh
yuzh

My suggestion is to use UFSDUMP for your backup script.  I wrote one a while ago that uses UFSDUMP but it doesn't have all the functions you want.  Something to remember for your backups: if you are doing backups and you suddenly need to restore your filesystem (say you really messed up root), the Solaris bootable CDROM only has UFSRESTORE (so you would be smart to use UFSDUMP).  People who use Veritas Backup discover this the hardway sometimes...they think they have this great software package until your root drive dies.  Then restores turn into rebuilds because the backup software requires a license key (which is sometimes tied into your unique system ID number/Ethernet MAC number)

Have a look at the backup_unix.sh script, it is a good one.
use ufsdump. just download it and modify it:

http://www.omnimodo.com/my_scripts/
I recommend using rdiff-backup
http://rdiff-backup.stanford.edu/
How's it going?
ASKER CERTIFIED SOLUTION
Avatar of yuzh
yuzh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- points to yuzh

If there are any objections, please leave a comment here in the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer