Cisco Headend Digital Broadband Delivery System Guia Da Instalação
Appendix C
Backup and Restore the DTACS File System and Database
168
78-4036705-01 Rev D
File System Restore Script Options
The script that restores the DTACS file system is called restoreFileSystems. You can
run the restoreFileSystems script with the following options:
run the restoreFileSystems script with the following options:
-l - Local-tape-drive. Specifies the tape drive to use on the local host computer.
(for example - /dev/rmt/0h)
(for example - /dev/rmt/0h)
-r - Remote-tape-drive. Specifies a tape drive on a remote host computer.
(for example - sparky:/dev/rmt/0h or 192.168.1.10: /dev/rmt/0h)
(for example - sparky:/dev/rmt/0h or 192.168.1.10: /dev/rmt/0h)
-B - Backup directory. Specifies the directory that contains the backup from
which the file system will be restored. The backup directory must be on an NFS-
mounted filesystem.
which the file system will be restored. The backup directory must be on an NFS-
mounted filesystem.
-v - verbose. Verbose output.
-i - interactive. Runs the restoration script in interactive mode.
-h - help. Provides a brief description of the valid options.
Note: The -l, -r, and -B options are mutually exclusive of one another; only one of
them can be used.
them can be used.
Restoring the DTACS File System
1 Insert the backup tape in the tape drive.
2 Type /tmp/cdrom/backup_restore/restoreFileSystems -v and press Enter. The
2 Type /tmp/cdrom/backup_restore/restoreFileSystems -v and press Enter. The
system restores the DTACS file system and displays a message when the
restoration completes.
restoration completes.
3 Type shutdown -y -g0 -i6 and press Enter. The DTACS server reboots.
4 Log in as an admin user.
5 Type pkginfo –l SAIdtacs and press Enter to verify that the correct version of
4 Log in as an admin user.
5 Type pkginfo –l SAIdtacs and press Enter to verify that the correct version of
DTACS was restored:
If the correct version was restored, continue at step 6.
If the correct version was not restored, verify the tape used was correct. Go
back to Shutdown the DTACS Server (on page 162) and repeat these steps.
back to Shutdown the DTACS Server (on page 162) and repeat these steps.
6 Follow the procedures in Restore the DTACS Database (on page 170) to restore
the DTACS database. After restoring the database, return to step 7 in this
procedure.
procedure.
7 Type cd /etc/rc2.d and press Enter to change the directory to /etc/rc2.d.
8 Type mv _S98informix S98informix and press Enter to move the Informix start
8 Type mv _S98informix S98informix and press Enter to move the Informix start
up script back into place.
9 Type eject cdrom and press Enter. The system ejects the DVD.