3.3

Table Of Contents
5 Backing Up the iNEWS System
72
n
You can use the dbrestore tdv command to verify that you can properly read a dbdump tape.
Check free space before you restore large amounts of data to the database. Before you
dbrestore stories or queues to your database from tape, ensure you have enough free space
available to hold the restored stories. You can create free space using the dbserver command
to empty out some of the Dead queue and add that space to the free list. A conservative
estimate would be to have 10 free blocks for every story you plan to restore.
n
When the -i option is used with the dbrestore command, dbrestore does not create any index
requests in SYSTEM.INDEX when stories are restored to indexed queues.The dbrestore
process is slowed when attempting to create index requests. Avid recommends the database
be restored using the -i option and the stories be re-indexed at a later time.
Restoring a First-Level Directory
Restoring a first-level directory, such as Scripts, as opposed to SCRIPTS.FEB, is the same as
restoring queues and other directories. However, when restoring such a directory, you also
have the option of restoring it under a new name. Use:
dbrestore d -n <old dir. name>[=<new dir. name>]
If the new directory does not already exist, dbrestore creates it.
For instance, suppose you have a directory called Scripts and you want to restore a previous
backup of this directory to another directory called Scripts-temp, which does not exist. Type:
dbrestore d -n scripts=scripts-temp
A message similar to the following appears:
744 stories restored
Since Scripts-temp does not exist, dbrestore creates it before restoring Scripts-temp. When
dbrestore has restored all stories in Scripts-temp, it displays a message indicating how many
stories were restored.
n
If you want to restore a specific directory, be sure to always include the
-n
and the directory
name. If you do not, dbrestore tries to restore everything on the tape to your database, which
could cause your system to run out of space.
You may not restore a first-level directory to a lower level. In the example above, for
instance, we could not have restored the Scripts directory to SCRIPTS.MAY.