Polycom 3725-70003-009F Sewing Machine User Manual


 
Maintaining the ReadiVoice System
Proprietary & Confidential 115
Manually Backing Up and Restoring
You may want to manually back up your ReadiVoice system at times, such as
prior to an upgrade. The backed-up data lets you to revert to the previous
version if there’s a problem with the upgrade.
The procedure described here backs up the databases, along with the contents
of the
/rahome
directory, which contains most of your configuration files.
Software upgrades automatically bring forward all database information
during the upgrade process. If you need to revert to an earlier version of the
ReadiVoice software, you must restore databases that match the earlier
software version.
Backing Up Manually
1 Place a tape in the archive tape drive (typically,
/dev/rmt/0
).
2 In an Xterm window, as root, set the Informix environment by entering
tcsh
.
3 Verify that the tape is ready (see “Restarting Backup and Verifying Tape
Drive Status” on page 102).
4 Change directories to
/rahome/database
.
5 Dump the ReadiVoice tables to a file by entering (on one line):
/rahome/database/dumptable.pl DB=cnow >
/rahome/dbdata_mmddyyyy.sql
Replace
mmddyyyy
with the current date.
6 Dump the CDR tables to a file by entering (on one line):
/rahome/database/dumptable.pl DB=cdrcnow >
/rahome/cdrdata_mmddyyyy.sql
Replace
mmddyyyy
with the current date.
7 Change to the root directory and back up the
/rahome
directory to tape
by entering
tar cvf /dev/rmt/0 /rahome
.
8 When the backup is finished, verify the contents of the tape by entering
tar tvf /dev/rmt/0
.
9 Eject the tape, write-protect it, and label it with the date and the
ReadiVoice version number.
Label all backups with a version number! If you downgrade to a previous
version of the ReadiVoice software, you must also restore databases matching
that version. The
loadtable.pl
process fails if the data being restored doesn’t
match the ReadiVoice version installed.