3.3

Table Of Contents
Restoring Data to the iNEWS Database
71
Notes on Backing up the Database
If you try to back up data to a write-protected tape on the Linux platform, you get a message
similar to the following:
NRCS-A# dbdump c
Do you really want to create a new archive? (y/n) y
Starting Dump(1) Block (0), dumped on Thur Jul15 ‘0:36:14: 2010
dumping isam user
Please remove tape.
Insert continuation tape (make sure safety is off)
When continuation tape is ready type: y (RETURN)
If the tape is write-protected, remove it from the drive. On some tape drives you can change
the write-protect without removing the tape. Set the write protect switch to off, insert the
tape, and repeat dbdump.
Daily backups usually take very little time and generally do not affect system performance.
However, backing up a large amount of material to tape may hinder system performance, so
you should only do it during times of lighter system use.
If you have a very large database, the full database backup may require two or more tapes.
The system prompts you to insert the next tape. Remove the current tape, number it as tape
number one, and insert another tape. The server automatically continues copying the
database when you insert the second tape.
Restoring Data to the iNEWS Database
The following sections describe how to restore data from tape.
The dbrestore Command
Tapes produced with the dbdump command can be read back in and restored using the
dbrestore command. The most common use of the dbrestore command is to restore a specific
queue or directory. This is done by specifying the name on the command line:
NRCS-A# dbrestore d –n <queuename> <queuename> ...