Cisco Headend System Release 2.7 Installation Guide
Restore the Database and Key Files from an NFS-Mounted Directory
23
11 Are you restoring a DBKFcron.sh backup?
If yes, type the following command and press Enter to untar the DBKF-#.tar
file.
Note: Substitute the number that pertains to the particular backup instance
that you are restoring for "#".
tar Exvf DBKF-#.tar
file.
Note: Substitute the number that pertains to the particular backup instance
that you are restoring for "#".
tar Exvf DBKF-#.tar
If no, continue with the next step.
12 As root user, type the following command and then press Enter to format the
database spaces.
/export/home/informix/libexec/formatDbSpace
/export/home/informix/libexec/formatDbSpace
Note: Formatting the database spaces will take 15 minutes or more depending
on the system build. Do not proceed to Step 15 until formatDbSpace has
completed.
on the system build. Do not proceed to Step 15 until formatDbSpace has
completed.
13 To restore the database and key files from the network location, type the
following command and then press Enter.
/usr/local/backup_restore/restoreDBKF –v –B
/usr/local/backup_restore/restoreDBKF –v –B
/net/[remotehost]/[path_to_NFS_databaseDBKF_backup]
Example: /usr/local/backup_restore/restoreDBKF –v –B
/net/192.0.2.3/backups/pepe/DBKF/2013_08-01T12:00:00
/net/192.0.2.3/backups/pepe/DBKF/2013_08-01T12:00:00
Important: This lengthy command must be typed to the end before you press
Enter.
Notes:
Enter.
Notes:
The [remotehost] represents the hostname of the remote computer which is
exporting (or holds) the database and keyfiles into which you will restore.
exporting (or holds) the database and keyfiles into which you will restore.
The [path_to_NFS_directory] represents the directory path on the remote
host which holds the backup files.
host which holds the backup files.
Result: A Successfully restored the database message appears.
14 When the database restoration completes, type the following commands, and
press Enter after each, to restart the http and apache-tomcat services.
svcadm enable http
svcadm enable http
svcadm enable http-dncsws
svcadm enable apache-tomcat
15 Go to
Restarting System Components (on page 31).