3.3

Table Of Contents
Restoring Data to the iNEWS Database
79
If you specify a maximum number, searchtape stops when that number of stories has been
restored, or when all stories containing the text have been found—whichever comes first.
To search a tape for the first 10 stories containing president, type:
searchtape max 10 for president
Anytime you specify more than 50 stories to restore, you are reminded that this could cause
the system to run out of disk space.
When the search is complete, searchtape stops and displays a message indicating the number
of stories it has restored.
To cancel the restore operation at any time while in progress, press Delete.
Checking for Free Space on a Database
To check free space on a database:
1. Select a server.
n
For information on selecting a server, see the iNEWS Newsroom Computer System Setup and
Configuration Manual.
2. Type:
dbfree
.
A message similar to the following appears:
database size 16,386,300 free 3,288,408 = 20%, freelist 3,730
In the previous message example the freelist item indicates how many database blocks
are used to hold the free list. The freelist is compressed. You should have 10 free blocks
for each story you want to restore. For instance, if you expect to find 10 stories to
restore, you should have 100 free blocks. Add extra space to the free list before
conducting a search because the search may find and restore more stories than you
expect.
Adding Blocks to the Free List
To add 100 blocks to the free list:
1. Select the master computer (typically server A).
2. Type:
dbserver 3288508
The number after dbserver must be the sum of the additional blocks and the free blocks
from dbfree.
A message similar to the following appears:
NRCS-A Sat Jul24 10:29:26 2010 dbserver complete-exiting