Cisco Headend System Release 2.7 インストールガイド
Chapter 3 Back Up the System to an NFS-Mounted Directory
14
Back Up the Database and Key Files to an NFS-
Mounted Directory
The database and key files can be backed up to a directory that is located on an NFS-
mounted file system. You must be able to access the NFS directory through the
/net/[remotehost]/[path_to_NFS_directory] directory structure. In addition, you
must have write-access to the directory or the backup will fail.
Note: Procedures for setting up the NFS are beyond the scope of this document. See
your System Administrator, if necessary, for help in setting up the NFS.
Important: All commands in this procedure must be executed as root user.
1 Make sure that you have write-access to the NFS-mounted file system and
mounted file system. You must be able to access the NFS directory through the
/net/[remotehost]/[path_to_NFS_directory] directory structure. In addition, you
must have write-access to the directory or the backup will fail.
Note: Procedures for setting up the NFS are beyond the scope of this document. See
your System Administrator, if necessary, for help in setting up the NFS.
Important: All commands in this procedure must be executed as root user.
1 Make sure that you have write-access to the NFS-mounted file system and
backup directory.
2 To back up the database and key files, type the following command and press
Enter.
/usr/local/backup_restore/backupDBKF –v –B
/usr/local/backup_restore/backupDBKF –v –B
/net/[remotehost]/[path_to_NFS_directory/[hostname]/DBKF/[Date
]
Notes:
The [remotehost] should be replaced with the actual hostname or IP address
of the remote computer system which is exporting (or shares) the file system
into which you will write the backup.
of the remote computer system which is exporting (or shares) the file system
into which you will write the backup.
The [path_to_NFS_directory] represents the directory path on the remote
host which holds the database backup.
host which holds the database backup.
The [hostname] should be replaced with the hostname of the system you are
backing up.
backing up.
The [Date] should be replaced with a date and timestamp which reflects the
time that the backup was executed
time that the backup was executed
This can be a very lengthy command. Type to the end of the command before
you press Enter. The command is likely to wrap to the following line.
you press Enter. The command is likely to wrap to the following line.
Example:
/usr/local/backup_restore/backupDBKF –v –B
/usr/local/backup_restore/backupDBKF –v –B
/net/192.0.2.1/backups/pepe/DBKF/2013-08-01T12:00:00