Cisco Headend System Release 2.7 Guide De Montage
Appendix C
Backup and Restore the DTACS File System and Database
160
78-4036705-01 Rev D
Back Up the DTACS Database
This section provides procedures for backing up the DTACS database to tape.
Database Backup Script Options
The script that backs up the databases is called backupDatabase. You can run the
backupDatabase script with the following options:
backupDatabase script with the following options:
-b - Blocks. Specifies the block size of the tape device to which the database
backup is written.
Note: If -b is not specified, the system uses a default tape block size appropriate
for your tape drive. If the system is unable to determine your tape drive, the
system uses 32.
backup is written.
Note: If -b is not specified, the system uses a default tape block size appropriate
for your tape drive. If the system is unable to determine your tape drive, the
system uses 32.
-s - Size. Specifies the size of the tape device to which the database backup is
written.
If -s is not specified, the system uses a default tape size appropriate for your tape
drive. If the system is unable to determine your tape drive, the system uses
8000000.
written.
If -s is not specified, the system uses a default tape size appropriate for your tape
drive. If the system is unable to determine your tape drive, the system uses
8000000.
-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)
-c - check-database. Checks the integrity of the databases. (Does not fix if errors
are found.)
are found.)
-n - non-interactive. Non-interactive, useful when running from cron.
-v - verbose. Verbose output.
-h - help. Provides a brief description of the valid options.