Previous Topic: BFS Naming ConventionsNext Topic: Performing Operator and User Functions


Instructions for Restoring a BFS Directory

To restore a BFS directory, perform the following steps:

  1. From the System Administrator Main Menu, select Option 9, Perform user functions.

    The Perform User Functions menu appears.

  2. In the Restore BFS files from file space field, specify the file space from which to restore.

    CA VM:Backup displays data that is backed up only from the file space you specify.

  3. Type an asterisk (*) for the user ID in the Restore BFS files from file space for userid field. When you restore a directory, specify an asterisk, which indicates to restore files owned by any user ID.
  4. Select Option 3, Select directories from which to restore.

    The Select Directories from Which to Restore screen appears.

    The Directory Name column contains directory names. If the data was backed up from the root directory, a slash appears in column one. If the data was backed up from a subdirectory, the name is indented according to the position the subdirectory occupies in the directory tree (three characters for each subdirectory level). If a directory name is not visible due to indentation, CA VM:Backup displays the string, ==>, on the right side of the line. This string indicates that output exists on that line.

    If a directory name is too long to display on the screen, use the PF6 (Right) and PF5 (Left) keys to scroll right and left. By doing so, you can view the complete directory name. Each time you press PF6 (Right) or PF5 (Left), the display shifts three characters in the appropriate direction to the next directory level. As you scroll left and right, the Indent level field is updated to indicate what level you are viewing. If the beginning portion of a directory name is not visible, CA VM:Backup precedes the name with an ellipsis. If the ending portion of a directory name is not visible, CA VM:Backup appends the name with an ellipsis.

    To view the full directory pathname for a directory, move the cursor to the Req column next to the appropriate directory name and press PF10 (Seename). The full directory pathname appears at the top of the screen. If the full directory pathname is too long to display on one line, press PF6 (Right) and PF5 (Left) to scroll right and left. By doing so, you can view the complete full directory pathname. If the beginning portion of the full directory pathname is not visible, the display precedes the pathname with an ellipsis. If the ending portion of the full directory pathname is not visible, the display appends the pathname with an ellipsis. While a full directory pathname is displayed, PF6 (Right) and PF5 (Left) affect only the line displaying the full directory pathname. Press ENTER or any PF key besides PF6 (Right) and PF5 (Left) to remove the full directory pathname.

  5. The screen displays the question:

    Restore the latest version?

    To restore the latest backed-up version of the directory, accept the default or respond yes.

    To display information about several backed-up versions of the directory that you want to restore, respond no.

  6. Type r in the Req column next to the directory you want to restore and press PF9 (Submit) to submit your request. You can select only one directory.

    The prompt Restore or view only the latest version? appears. Your answer takes you to one of the following screens:

Response

CA VM:Backup displays:

Continue with:

NO

Select Version of Directory to Restore screen

Step 7

YES

Specify Restore Directory Options screen

Step 8

  1. Type r in the Req column next to the version of the directory you want to restore and press PF9 (Submit) to submit your request.

    CA VM:Backup displays the Specify Restore Directory Options screen. By default, CA VM:Backup displays the full directory pathname of the source directory in the Directory field and the name of the source file space in the Target BFS file space field.

  2. In the Directory field, type the full directory pathname of the directory to which you want to restore. In the Target BFS file space field, type the name of the file space in which the target directory exists. You must specify an absolute pathname; that is, the full directory pathname beginning with a slash (/). You can restore to only one directory in a single request.

    Important! CA VM:Backup does not require any specific permissions in the target directory or its parent directories.

  3. Accept the default (NO) or enter yes in response to the following question to specify whether you want the directory cleared before CA VM:Backup restores it:

    Clear the directory before restoring?

    If you respond no, the directory is not cleared before your files are restored. If you respond yes, CA VM:Backup erases all files in the target directory.

  4. If you responded no to the Clear the directory before restoring? question, you must accept the default (YES) or enter no in response to the following question:

    Restore files with the same names as existing files?

    If you respond yes, CA VM:Backup restores all the files backed up from the source directory. If a file in the source directory has the same name as a file in the target directory, CA VM:Backup replaces the version in the target directory with the version backed up from the source directory. If you respond no, CA VM:Backup restores only those files backed up from the source directory whose names do not match any currently existing files.

  5. If you responded yes to the Clear the directory before restoring? question, you must accept the default (YES) or enter no in response to the following question:

    Restore directory ownerships and permissions?

    If you respond yes, the restored data will have the ownerships and permissions that exist in the backup.

    If you respond no, the restored data will have the ownerships and permissions that existed in the target directory before the restore.

  6. Press PF9 (Submit) to submit the restore to CA VM:Backup.