CHAPTER 5 Listing and Restoring Files

Previous Chapter : Next Chapter : Top


Table of Contents


Files backed up with BACKUP.UNET can also be restored using BACKUP.UNET. By default, files are restored from the most recent backup, but can be restored from any other backup you specify. BACKUP.UNET can restore any number of selected files or an entire file system.

Restore options let you:


Required Restore Privileges

You must have specific permission to restore files or you must be a BACKUP.UNET administrator. To restore a file, you must either own it or have had read access to it when it was backed up. You must also have write permission in the directory where you are restoring the files. If you are a BACKUP.UNET administrator, you can restore all or part of a system (configurable using message number 19 in the 'nbkMSGS' file), so long as you can write to the directory. For information about the 'nbkMSGS' file, refer to the BACKUP.UNET Customization and Reference Guide.


Steps in the Restore Process

The following steps briefly describe the restore process:

  1. From the BACKUP.UNET main dialog, select the host in the Hosts list box from which you want to restore files.
    Choose Backup Restore from the BACKUP.UNET main dialog to display the Restore dialog. By default, the most recent names of all files that have been backed up are displayed.
    Click the Options button to display the Restore Options dialog. Examine the current settings; they will be used as the basis for the restore. Make any necessary modifications to the restore settings. (Refer to Setting Restore Options on page 5 6.)

  2. Build the list of files to be restored. In the Restore dialog, choose directories and files to be restored from the Most Recent Version of all Files list box. (Refer to Selecting Files to be Restored on page 5 8.) To restore files from a specific backup, click the Dumps button to display the Dump to Restore dialog. From this dialog, you can select a specific dump.

  3. Select a provider and a device to use for the restore job. This step is optional; if you skip this step, a provider and device are automatically selected. (Refer to Selecting a Provider and Device on page 5 12.)

  4. Start the restore job by clicking the Apply button. (Refer to Starting the Restore Job on page 5 14.)

  5. Check the status of the restore process, if desired. (Refer to Viewing the Status of a Restore Job on page 5 16.)

Using the Restore Dialog

  1. From the BACKUP.UNET main dialog, select the host in the Hosts list box for which you want to restore files.

  2. Choose Backup Restore from the BACKUP.UNET main dialog to display the Restore dialog (Figure 5 1).

Graphic: Figure 5-1. Restore Dialog

The Restore dialog contains the following fields:

Most Recent Version of all Files

List box. By default, displays the names of all files and directories at the "/" level that have been backed up. This list can be restricted to a specific backup by choosing the name or date of a backup using the Dumps pushbutton (described below). If the list is restricted in this way, then the title of this field will change to reflect the associated backup. Directories are indicated by /... after the name. Links are indicated by an arrow after the name. The current directory is indicated in the small box above the list box. Press the SELECT mouse button on the directory box to move up and down in the directory tree.

Files to Restore

List box. Displays the files and directories selected from the Most Recent Version/Files from list box. Directories are indicated by /... after the name. Links are indicated by an arrow after the name. The current directory is indicated in the small box above the list box. Press the SELECT mouse button on the directory box to move up and down in the directory tree.

Open

Pushbuttons. Used to open a selected directory.

Copy

Pushbutton. Used to copy selected files or directories to the Files to Restore list box.

Exclude

Pushbutton. Used to delete selected files or directories from the Files to Restore list box. Excluded files and directories are not restored.

Reset

Pushbutton. Clears the Files to Restore list box.

Restore Files to Directory

Text field. Used to specify a directory into which the files and directories will be restored.

Options

Pushbutton. Displays the Restore Options dialog. Contains options used to determine how the dump information is displayed and restored.

Dumps

Pushbutton. Displays the Dump to Restore dialog. Contains options to restore from all dumps, a specific date, and a named full dump.

Devices

Pushbutton. Displays the Restore Device dialog. Use to select a pool provider and a device to be used for the restore. This pushbutton is active when at least one file or directory is displayed in the Files to Restore list box.


Setting Restore Options

Use the Restore Options dialog to set the parameters that determine how the files are to be searched and then displayed in the files box on the Restore dialog. Once the file list is displayed you build a list of the files to be restored.

  1. From the Restore dialog, click the Options button. The Restore Options dialog is displayed (Figure 5 2).

    Graphic: Figure 5-2. Restore Options Dialog

  2. Examine the current settings; BACKUP.UNET uses these settings as the basis for searches and restores. Make any necessary modifications to the settings:

  3. To save any changes, click the Apply button. (To cancel any changes, click the Dismiss button.) Continue to the next section, Selecting Files to be Restored.

Selecting Files to be Restored

Use the Restore dialog to build a list of the files to be restored. By default, the Restore dialog displays the files from the latest set of backups; that is, the last full backup and all the incremental backups since then. You can also restore files from a specific backup and a named full dump.

Restoring the Most Recent Version

Since this is the default restore option, simply select the directories and files to restore from the list of files from the most recent version of all files. Build the list of files to restore as described in Building the File Restore List on page 5 9.

Restoring From a Specific or Named Dump

Use the Dump to Restore dialog to select a backup or a named full backup from which to restore files.

  1. From the Restore dialog, click the Dumps button. The Dump to Restore dialog is displayed.

  2. Click the Dump radio button to display a list of dumps (Figure 5 3).

    Graphic: Figure 5-3. Dump to Restore Dialog Showing Dumps

  3. Select the dump from which you want to restore files.

  4. To save the selection, click the Apply button. The Dump to Restore dialog closes and you are returned to the Restore dialog.

  5. The files that were backed up on the named full dump you selected are displayed in the Files from list box on the left. To select the files and directories to restore, continue with the next section, Building the File Restore List.

Building the File Restore List

Once you have selected the dump, you must select the files and directories to be restored, using the Restore dialog. Basically, you select files and directories from the Files from list box on the left and then click the Copy button. The files and directories you selected are displayed in the Files to Restore list box on the right. These are the files that will be restored.

  1. If you do not want to restore files from the latest dump (the default option) and you have not selected another dump, see Selecting Files to be Restored on page 5 8 and select a dump. Then continue with step 2.

  2. 2. The Restore dialog contains two list boxes. The left list box displays the contents of the dump selected from the Dump to Restore dialog. The right list box is titled Files to Restore and is used to display those files and directories that you select from the left list box (Figure 5 1).

  3. Build a list of files and directories to restore:

    Graphic: Figure 5-4. Restore Dialog Showing Files and Directories to Restore

  4. To delete a file from the Files to Restore list box, select the file and click the Exclude button. The file is deleted from the list.
    To delete all entries from the Files to Restore list box, click the Reset button.

  5. To restore the selected files to a different directory, position the cursor in the Restore Files to Directory field and enter its fully qualified name. You must have write permission in the directory into which the files are being restored.

  6. Before starting the restore job, you can optionally select a provider and device for the restore. See Selecting a Provider and Device for instructions. If you do not select a provider and a device, BACKUP.UNET selects them automatically. You can continue to Starting the Restore Job.

Selecting a Provider and Device

Use the Restore Device dialog to select a pool provider and associated device for the restore.

  1. From the Restore dialog, click the Devices button to display the Restore Device dialog (Figure 5-5 ).

    Graphic: Figure 5-5. Restore Device Dialog

  2. Select the pool provider from the Pool Provider list box to be used for the restore. Any devices associated with the provider are displayed in the Device list box. If you do not select a provider, BACKUP.UNET automatically selects one.

  3. Optionally, select a device from the Device list box to be used for the restore. If you do not select a device, BACKUP.UNET automatically selects one.

  4. To save the selections, click the Apply button. The Restore Device dialog closes and you are returned to the Restore dialog.

  5. To start the restore job, follow the instructions in Starting the Restore Job.

Starting the Restore Job

Before you start the restore job be sure you have:

Once you have completed the steps above, you are ready to start the restore job:

  1. From the Restore dialog, click the Apply button to start the restore job.

    Note: If another restore or backup request is running when you initiate your restore, your request is queued and will be processed when the related tables are no longer active.

  2. An information dialog is displayed, letting you know the restore job has been submitted. The operation key identifies the job number. Use this number when checking the status of your job. Click the OK button to dismiss the dialog.

  3. Once the file restore is started, you can:
    - Close the Restore dialog and continue with other functions. OR
    - Request the status of the restore job using the Status main dialog option. See Viewing the Status of a Restore Job for instructions.

Usage Notes

Before restoring files you should be aware of the following conditions:

WARNING file filename is too large, skipping...

You can restore the indicated files after the restore operation is complete. Use message number 13 in the 'nbkMSGS' file to set a larger ulimit value and then restore any files that were not restored.

Refer to the BACKUP.UNET Customization and Reference Guide for information about using the 'nbkMSGS' file.


Viewing the Status of a Restore Job

If you are waiting to use a specific file or files to complete a project, you may want to see how your file restore is progressing.

  1. From the BACKUP.UNET main dialog, click Status on the menu bar to display the Status menu.

  2. Select Backups/Restores to display the Backup and Restore Jobs dialog.

  3. If your restore job is being processed, the key, type, status, process ID (PID), and the estimated completion time are displayed.

  4. If you want to check on the status again in a few minutes, click the Update button to get an updated status.

  5. When finished viewing the status, click the Dismiss button.

Canceling a Restore Job

Once you have started a restore job, you can cancel it using the Backup and Restore Jobs dialog:

  1. From the main dialog select Status Backups/Restores to display the Backup and Restore Jobs dialog.

  2. Select the restore job you want to cancel and click the Cancel Job button.

  3. You will be prompted to confirm this action.To continue with the cancellation of the selected restore job, click the OK button. To abort this action, thus allowing the restore job to continue, click the Cancel button.