Using the restore command

Description

Use the restore command if you want to recover data that was backed up by the filer's dump command. After you recover the data, the files contain the same data as they did when you ran the dump command. You can use the restore command at any time.

Restrictions

This section describes the restrictions of the restore command.

The i function key of the Solaris ufsrestore command

The restore command is similar to the Solaris ufsrestore command, except that the restore command doesn't support the i function key of ufsrestore. This function key enables you to specify interactively individual files and directories to be restored from a tape. However, you can restore individual files and directories using the x argument of the filer restore command.

Incremental-only restores

If you want to restore all files in a backup using the restore r command, you must begin the restoration from a level 0 backup. You can, however, restore a specified file or directory from an incremental backup tape when you use the restore x command.

Parallel restores

The filer supports up to three simultaneous restore commands.

Prerequisites

This section describes the requirements that you must meet for the restore command to be completed successfully.

Where you can enter the restore command

You can enter the restore command through the console or through rsh. Entering the restore command through rsh gives you these benefits:

However, if you enter the restore command on the console, you can read and respond to screen messages displayed by the command. For example, the command might prompt you for another tape to complete the recovery.

Steps

Follow these steps to restore files to the filer.

Step Action
1 Place the tape containing the first tape file of the backup in the tape drive.
2 Enter the restore command as follows:
restore [function_key] [options] [arguments] [subtree]
3 If prompted, insert the next tape in the backup.
4 Repeat Step 3 until the restore is complete.

Copyright © 1999, Network Appliance, Inc. All rights reserved.

Part No. 210-02334
File: recover2.htm
Last updated: 02/24/99 12:17:05