Cisco Headend System Release 2.5 Installation Guide

Page of 57
 
Chapter 3    Back Up the  System to an NFS-Mounted Directory 
 
 
 
12 
 
Back Up the File System to an NFS-Mounted 
Directory 
The file system 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. We 
recommend  creating an FS (for file system), and DBKF (for database and key  files) 
directory in the NFS directory path. 
Example: 
 
/net/192.0.2.1/backups/pepe/FS 
 
/net/192.0.2.1/backups/pepe/DBKF 
1  Ensure that you have  write-access to the NFS-mounted file system and backup 
directory. 
2  To back up a file system over NFS, type the following  command and press Enter
/usr/local/backup_restore/backupFileSystems –v –B  
/net/[remotehost]/[path_to_NFS_directory/[hostname]/FS
 
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. 
 
The -B option allows you to define a backup directory  path. 
 
The [path_to_NFS_directory] represents the directory path on the remote 
host which  will hold the backup files. 
 
The [hostname] should be replaced with the hostname of the system you are 
backing up. 
 
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. 
Example: 
/usr/local/backup_restore/backupFileSystems –v –B 
/net/192.0.2.1/backups/pepe/FS