Backup via a third mirror
Pando,
I have a nightly cron script to backup the server. The script builds the mirror nightly and after it is "broken" I mount the mirror as a snapshot volumn. It is these volums I backup to tape. The process is:
1. unmount the "snapshot" volumns.
2. destroy the snapshot (this is necessary to create a new mirror).
3. begin the resilver process to create the 3rd mirror.
4. when the resilver process is complete, put the databases into backup mode.
5. break the mirror.
6. take the databases (tablespaces) out of backup mode.
7. Perform an fsck on the mirrors to clean them up.
8. Mount the snapshot volumns.
9. tar the volumns to tape along with the archived log files.
This provides us the a hot backup that is fully recoverable (I know as I've had to use it) on a daily basis. The entire process is controlled from a cron script that calls the other scripts to perform the work. The scripts are dynamic so when additional tablespaces are added to databases, all tablespaces are accounted for in the backup. Between the various databases, developer dumps and the executables, we backup approximately 350 Gbytes of disk nightly via this routine. And it's a simple matter to add additional databases and volumns to the process.
[Edited by justadba on 07-02-2001 at 05:04 PM]