Polycom 3725-70003-009F Sewing Machine User Manual


 
ReadiVoice Administration & Maintenance Guide
116 Proprietary & Confidential
Restoring from a Manual Backup Tape
1 In an XTerm window, as root, stop the Web server process by entering
sh /etc/rc3.d/S91rvhttpd stop
.
2 Change directories to
/rahome
and enter
./rastop
.
3 Extract the backup data from tape by entering
tar xvf /dev/rmt/0
.
The system restores the backup of the
/rahome
directory, including the
database dump files you created there.
4 Switch user to cnow. Set the Informix environment by entering
tcsh
.
5 Change directories to
/rahome/database
. Then, drop the existing
cnow
database by entering
make drop
.
6 Create a new empty
cnow
database by entering
make create
.
7 Change directories to
/rahome/cdrdb
. Then, drop the existing
cdrcnow
database by entering
make drop
.
8 Create a new empty
cdrcnow
database by entering
make create
.
9 Restore the data from the dump file to the
cnow
database by entering (on
one line):
/rahome/database/loadtable.pl DB=cnow <
/rahome/dbdata_mmddyyyy.sql
Replace
mmddyyyy
with the date of the backup.
10 Restore the data from the CDR dump file to the
cdrcnow
database by
entering (on one line):
/rahome/dbcdr/loadtable.pl DB=cdrcnow <
/rahome/cdrdata_mmddyyyy.sql
Replace
mmddyyyy
with the date of the backup.
11 Exit from the cnow login (returning you to the root prompt) and restart
the Web server process by entering
sh /etc/rc3.d/S91rvhttpd start
.
12 Change directories to
/rahome
and enter
./rastart
.
13 To verify that the required processes are running, enter
./racheck
.
Caution!
You must use the
loadtable.pl
script in
/rahome/dbcdr
, not the one in
/rahome/database
, to restore the CDR data.