DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using EELS

Restoring to a scratch database

Take the following steps to restore an archive called arch_1 to a new scratch database called scratch_1.

  1. Log in as root.

  2. Create a new scratch database, scratch_1, using eels_db_admin(1Meels).

    eels_db_admin -c scratch_1 events \
    "Scratch database" MySelf

  3. Assign the correct user privileges so that whoever needs to can access the new database. For example, to enable a user called jullied to access the database, enter:

    eels_db_admin -x perm add db jullied scratch_1 S

  4. Use eels_log_restore to restore the arch_1 archive to the scratch database:

    eels_log_restore -a arch_1 \
    -d scratch_1 -t events

    The contents of the archive are copied into scratch_1.

The database is now ready for use by jullied.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004