If your system is configured to perform a tape backup as part of the standard snapshot script, simply run the following command:
at now /u2/UTILS/bin/snapsave_linux.sh
If your system is configured to perform a local and/or remote rsync backup as part of the standard snapshot script, but you need to run a tape backup only, run the following command:
[root@eclipse-server ~]# /u2/UTILS/bin/snapsave_linux.sh
Unmounting previous snapshots
Suspending database
Performing snapshots
Releasing database suspension
Run tape backup now? [NO/y]y
Run local rsync now? [NO/y] n
Send email report now? [NO/y] y
[root@eclipse-server ~]#
This script will suspend your database, take snapshots of the database files and create a full tape backup. You will not see any output in your console session, because the script creates a separate log file under /tmp/snapsave.log.
If you have already created the snapshot filesystem, but you want to perform a separate manual tape backup:
tar -cvzpf /dev/st0 --totals -C / ./etc -C /snap ./u2
If there are no snapshots present, but no users are on the system and you want to perform a manual tape backup:
tar -cvzpf /dev/st0 --totals -C / ./etc -C / ./u2