3.3

Table Of Contents
Restoring Data to the iNEWS Database
73
When you restore a first-level directory to an existing directory, it acquires the traits of that
directory. If dbrestore must create the directory, it uses database traits of the directory it is
restoring.
c
If the new directory name is longer than the old one, there is a possibility that
sub-directory names may become too long and cannot be restored. When the new name
is longer than the old name, the dbrestore program will prompt with the following
warning message: WARNING: Alias too long! It should be shorter or the same length
as current directory name to avoid exceeding directory name length restrictions.
Do you really want to continue? (n/y)
Listing Tape Contents and Backup Dates
When restoring a directory, you might need to examine the tape’s contents to ensure the
directory you want to restore is actually on that tape. Otherwise, if you attempt to restore a
directory or queue that is not on the tape, the system may take several minutes to search the
entire tape before reporting no stories restored.
The pages that follow show you how to use the dbrestore command to list the directories and
queues that have been backed up on a tape, to find out if the tape contains any stories saved
after a certain date, and to find out the date of each backup on the tape.
Listing Contents of a Tape
If you want to list every directory and queue on the tape, as well as the number of stories in
each queue, to the server with the tape drive, type:
dbrestore tdv