Storage Library System for OpenVMS Guide to Backup and Restore Operations

*HyperReader

  CONTENTS

  Title Page

  Copyright Page

  Preface

  1      Introduction to Storage Library System for OpenVMS

  1.1     Storage Management in the OpenVMS Environment
    1.1.1      Data Categories
    1.1.2      Device Capacity, Cost, and Performance
    1.1.3      Data Storage Technologies
      1.1.3.1      Online Storage
      1.1.3.2      Nearline Storage
      1.1.3.3      Offline Storage
    1.1.4      Storage Management Planning

  1.2     What is SLS?
    1.2.1      SLS Product Functions
    1.2.2      SLS Product Features
    1.2.3      SLS Device Support

  1.3     The SLS Server and Client Processes
    1.3.1      Client and Server Definitions
      1.3.1.1      Server Software
      1.3.1.2      Client Software
    1.3.2      Basic Block Diagram of SLS Server and Client Processes

  1.4     SLS Storage Management Concepts
    1.4.1      Why You Save Data
      1.4.1.1      Backup Copy of Data
      1.4.1.2      Archive Copy of Data
      1.4.1.3      Defining Data Safety Policy
      1.4.1.4      Policy Implementation and Administration

  1.5     Storage Management Responsibilities
    1.5.1      Storage Administrator's Responsibilities
    1.5.2      Operator's Responsibilities
    1.5.3      User's Responsibilities

  2      Using SLS Menu Interfaces

  2.1     SLS Menus

  2.2     Administrator Menu
    2.2.1      Accessing the Administrator Menu
    2.2.2      Adminstrator Menu Diagram
    2.2.3      Administrator Menu Options

  2.3     Operator Menu
    2.3.1      Accessing the Operator Menu
    2.3.2      Operator Menu Diagram
    2.3.3      Operator Menu Options

  2.4     User Menu
    2.4.1      Accessing the User Menu
    2.4.2      User Menu Diagram
    2.4.3      User Menu Options

  3      SLS Data Safety Methods

  3.1     Volume Database Location

  3.2     SLS History Files
    3.2.1      Creating SLS System History Files for System Backup Operations
      3.2.1.1      Naming Your SLS System History File Sets
      3.2.1.2      Defining SLS System History File Set Directories
      3.2.1.3      Rules for SLS System History File Set Names and Directories
      3.2.1.4      Example:  SLS System History File Assignments
      3.2.1.5      Characterizing SLS System History Files
    3.2.2      Defining Characteristics of SLS System History Sets
      3.2.2.1      Determining the Space Required for SLS System History File Sets
      3.2.2.2      History Records for Individual File Versions
      3.2.2.3      Declaring the Maximum File Name Size
      3.2.2.4      Declaring the Maximum Number of SLS System History Pointers Per File
      3.2.2.5      Choosing to Store the Node Name in the Files File
    3.2.3      Transferring Existing Backup Files to SLS History Files
      3.2.3.1      Requirements for Transferring Files
      3.2.3.2      Procedure for Transferring Files
    3.2.4      Creating SLS User History Files For User Backup Operations
      3.2.4.1      Considerations for User History Files
      3.2.4.2      How to Determine the SLS User History File Location

  3.3     Deleting Old SLS History Files
    3.3.1      SYSCLN Menu
      3.3.1.1      Start SYSCLN Processing
      3.3.1.2      Shutdown SYSCLN Processing
      3.3.1.3      Inquire SYSCLN Status
      3.3.1.4      Abort SYSCLN Processing
    3.3.2      Delete User Histories

  3.4     Data Safety with the VMS Backup Utility
    3.4.1      Volume and Magazine Database Device Failure
    3.4.2      SLS System History File Device Failure
    3.4.3      Manually Updating the SLS System History Files

  3.5     Data Safety with VAX RMS Journaling and the VMS Backup Utility
    3.5.1      Implementing Data Safety with the VMS Backup Utility and VAX RMS Journaling
    3.5.2      VAX RMS Journal Device Failure

  3.6     Data Safety with VAX Volume Shadowing Software

  4      Configuring SLS System Backup Operations

  4.1     SLS System Backup Operations

  4.2     System Backup Command Files
    4.2.1      Creating SLS System Backup Command Files
    4.2.2      System Backup Operations Using SYSBAK.TEMPLATE
    4.2.3      Executing System Backup Operations
      4.2.3.1      Running Manual Backup Operations
      4.2.3.2      Running Automatically Scheduled Backup Operations

  4.3     Preparing for System Backup Operations
    4.3.1      How to Define Automatic Scheduling Days
      4.3.1.1      Symbols for Automatic Scheduling
      4.3.1.2      Specifying a Day of the Week
      4.3.1.3      Specifying a Day Offset into a Month
      4.3.1.4      Specifying a Week Offset into a Month
      4.3.1.5      Specifying the Days to Run System Backup Operations
      4.3.1.6      Specifying the Time of Day to Run System Backup Operations
      4.3.1.7      Overriding the Default Queue with the Time Definition
      4.3.1.8      Specifying the Node Executing the DCL SUBMIT Command
      4.3.1.9      Example:  Automatic Scheduling Selection
      4.3.1.10     Skipping an Automatically Scheduled System Backup Operation
    4.3.2      Skipping Automatic System Backup Operations on Holidays
      4.3.2.1      HOLIDAYS.DAT Record Format
      4.3.2.2      Example:  HOLIDAYS.DAT File
    4.3.3      Preprocessing and Post-Processing Operations
      4.3.3.1      Execution Sequence for Preprocessing and Post-Processing Symbols
      4.3.3.2      Symbols Enabled for Preprocessing and Post-Processing
      4.3.3.3      Executing Another SBK Batch Job After the Backup Operation

  4.4     Defining the SLS System Backup Operation
    4.4.1      The VMS BACKUP Command
      4.4.1.1      Assignments to FILES_n
      4.4.1.2      Assignments to QUALIFIERS and QUALIFIERS_n
      4.4.1.3      Defining the Backup Privilege
      4.4.1.4      Assignments to MNTFLAGS
      4.4.1.5      Assigning Additional Mount Actions
      4.4.1.6      Save Set Name Symbol Descriptions
      4.4.1.7      Generating Save Set Names
      4.4.1.8      Assigning the PROTECTION Symbols
    4.4.2      System Backup Volume Characteristics
      4.4.2.1      Indicating the Type of Media Used for the Backup Operation
      4.4.2.2      Assigning the Volume Pool for the Backup Operation
      4.4.2.3      Assigning Backup Volume Density
      4.4.2.4      Assigning the Backup Volume Size
    4.4.3      System Backup Operator Intervention Policy
      4.4.3.1      Example:  Attended System Backup Assignments with Restrictions
      4.4.3.2      Example:  Attended System Backup Assignments with Without Restrictions
      4.4.3.3      Example:  Unattended System Backup Assignments
      4.4.3.4      Acknowledging Loaded Volumes
      4.4.3.5      Allocating Volumes Prior to Running the System Backup Operation
      4.4.3.6      Enabling SLS Software to Automatically Select Volumes
      4.4.3.7      Allowable Values for AUTOSEL
      4.4.3.8      Recommended Procedure for Handling Volumes
      4.4.3.9      Handling Volume Label Mismatches During the System Backup Operation
      4.4.3.10     Allowable CONTLOADOPT Values
    4.4.4      System Backup Media Resource Allocation
      4.4.4.1      Considerations for More Than One Save Set on One Volume
      4.4.4.2      Assigning Strings to the CONTINUE Symbol
    4.4.5      System Backup Volume Disposition
      4.4.5.1      Specifying Symbols for SLS System History Files
      4.4.5.2      Naming Your SLS System History Set
      4.4.5.3      Naming the SLS System History Processing Queue
      4.4.5.4      Setting the Number of Days for Volume Retention
      4.4.5.5      Setting Volume Off-Site and On-Site Dates
      4.4.5.6      Allowable OFFSITE_DATE and ONSITE_DATE Assignments
      4.4.5.7      Printing Volume Labels
      4.4.5.8      Allowable Assignments to TAPE_LABELS
      4.4.5.9      Assigning a Note to a Volume
    4.4.6      System Backup Device Control
      4.4.6.1      Assigning the Backup Tape Device
      4.4.6.2      Controlling the Number of Drives Used for a System Backup Operation
      4.4.6.3      How SLS Software Implements N_DRIVES During a System Backup Operation
    4.4.7      System Backup Status and Information Reporting
      4.4.7.1      Job Notification
      4.4.7.2      Progress Reporting by Mail
      4.4.7.3      Naming the Backup Log File
      4.4.7.4      Creating a Listing File Name
      4.4.7.5      Controlling Listing File Format
      4.4.7.6      Printing a Listing File

  4.5     Files Created During a System Backup Operation
    4.5.1      Summary Files
    4.5.2      Allowable SUMMARY_FILE Values
    4.5.3      System Backup Log Files
    4.5.4      Temporary History Files
    4.5.5      Maintenance Log Files

  5      Performing Save Operations

  5.1     Preparing for Save Operations
    5.1.1      How SLS Performs Save Operations
    5.1.2      Types of Backup Operations
    5.1.3      Controlling Data Saving Operations
      5.1.3.1      Defining the Backup Operation Format
      5.1.3.2      Restrictions Imposed by the ASCII and EBCDIC Formats
      5.1.3.3      Operator Save Screen Option Defaults
      5.1.3.4      Setting the Operator Save Screen Defaults
      5.1.3.5      Setting the Default Volume Selection Method for User Save Operations
      5.1.3.6      Defining the Batch Queue Name for SLS Backup Operations
      5.1.3.7      Notification of Completed Backup Operations
      5.1.3.8      Supplying Default Volume Size for the STORAGE SAVE Command
      5.1.3.9      Save Operations with Nonlibrary Volumes

  5.2     Performing Manual System Backups
    5.2.1      Accessing the Manual System Backup Menu Option
    5.2.2      Procedure For Using the Manual System Backup Option

  5.3     Performing User Save Operations
    5.3.1      User Interface
    5.3.2      Save Screen Diagram
    5.3.3      Procedure For Using the Save Screen Option

  5.4     Performing Unattended Backup Operations
    5.4.1      How an Unattended System Backup Operation Works
    5.4.2      Modifying System Backup Procedures
    5.4.3      Performing Unattended System Backups
    5.4.4      Performing Unattended System Backups Using Preallocated Volume Sets

  6      Restoring Files and Disks

  6.1     Restoring Data
    6.1.1      Defining the Restore Operation Queue
    6.1.2      Setting Operator Restore Screen Option Defaults
    6.1.3      Notification when Restore Is Finished
    6.1.4      Controlling Data Restore Operations
    6.1.5      Restore Operations with Nonlibrary Volumes

  6.2     Restoring a Disk

  6.3     Restoring a File or Group of Files
    6.3.1      Requesting a Restore Operation
    6.3.2      Using the Restore Screen

  7      Using RMU Backup and Restore with SLS

  7.1     Overview of RMU Backup and Restore Support

  7.2     Using RMU and SLS Together
    7.2.1      Oracle Rdb Minimum Version
    7.2.2      Types of System Backup Operations

  7.3     Overview of Database System Backup Processing

  7.4     Defining Database System Backup Operations
    7.4.1      Identifying Database Backup History Sets in TAPESTART.COM
    7.4.2      Locating the Database System Backup Command File
    7.4.3      Identifying Backup Operation Type
    7.4.4      Modifying Existing Symbols
    7.4.5      Using QUALIFIERS_n
    7.4.6      Nullifying Existing Symbols
    7.4.7      Specifying Oracle Rdb Software Version

  7.5     Running Database System Backups
    7.5.1      Running Database Backups Automatically
    7.5.2      Running Database Backups Manually
      7.5.2.1      Using the DCL Command Interface
      7.5.2.2      Using the Operator Menu Interface

  7.6     Using Volume Reports to Identify Database Backups

  7.7     Restoring a Database
    7.7.1      Before Restoring an Oracle Rdb Database
      7.7.1.1      Designating an Oracle RMU Restore Operation
      7.7.1.2      Specifying Oracle Rdb Software Version
      7.7.1.3      Specifying RMU/RESTORE Qualifiers
      7.7.1.4      Using an Options File
    7.7.2      Example Oracle RMU Restore Scenarios
      7.7.2.1      Full Restore of a Single File Database
      7.7.2.2      Full Restore of Multiple File Database
      7.7.2.3      Full Restore of an Area of a Multiple File Database

  8      Performing SLS Archiving Operations

  8.1     Automatic Archiving
    8.1.1      Preparing for Automatic Archiving
    8.1.2      Setting File Retention and Expiration Times
      8.1.2.1      How the File Retention Time Works
      8.1.2.2      A Graphic Look at File Retention Times
      8.1.2.3      Special Cases of File Access
      8.1.2.4      Rules for Applying the File Retention Time with the SET VOLUME Command
      8.1.2.5      How to Set the File Retention Time
      8.1.2.6      How to Set Expiration Times for Files
      8.1.2.7      How to Determine a File's Expiration Date
    8.1.3      Controlling Automatic Archiving

  8.2     Standby Archiving
    8.2.1      Advantages of Standby Archiving
    8.2.2      How Standby Archiving Works
    8.2.3      How Standby Archiving Executes Save Reqeusts
    8.2.4      How Standby Archiving Uses .ARKIVE Files
    8.2.5      Editing TAPESTART.COM for Standby Archiving
      8.2.5.1      Defining Standby Archiving Log File Location
      8.2.5.2      Setting the Standby Archiving Interval
      8.2.5.3      Defining the Default Archive Class
      8.2.5.4      Alternate Methods for Defining the Default Archive Class
    8.2.6      Standby Archive Operator Menu Option
      8.2.6.1      Standby Archive Menu Options
      8.2.6.2      Starting Up and Shutting Down the Standby Archiving Process
      8.2.6.3      Before You Begin
      8.2.6.4      Starting Up Standby Archive From the Operator Menu
      8.2.6.5      Shutting Down Standby Archive From the Operator Menu
      8.2.6.6      Inquire Pending Jobs From the Operator Menu
      8.2.6.7      Aborting Standby Archive
      8.2.6.8      How to Interrupt the Standby Archive Process
    8.2.7      Establishing Archive Classes and Enabling User Access
      8.2.7.1      Archive Class Naming Conventions
      8.2.7.2      Authorizing Class Access For a User From The Operator Menu
    8.2.8      Performing Save Operations Using Standby Archiving
      8.2.8.1      Standby Archiving Performed From the User Menu Save Screen
      8.2.8.2      Standby Archiving Performed Using DCL

  9      Generating SLS Reports

  9.1     Operator Menu:  Inquire Pending Jobs

  9.2     User Menu:  Report of Files on User Backups

  9.3     User Menu:  Report of Files on System Backups

  A   DCL STORAGE Commands

  A.1     DCL STORAGE Commands Listing

  STORAGE REPORT FILE

  STORAGE REPORT SYSTEM

  STORAGE REQUEUE

  STORAGE RESTORE

  STORAGE SAVE

  STORAGE STARTUP SYSTEM_BACKUP

  B   TAPESTART.COM Quick Reference

  B.1     TAPESTART.COM Symbols for Configuration

  B.2     TAPESTART.COM Symbols for Standby Archiving

  B.3     TAPESTART.COM Symbols for Restore Operations

  C   System Backup Command File Quick Reference

  C.1     Symbols for System Backup Control

  C.2     Symbols for System Backup Type

  C.3     Symbols for System Backup Volume Characteristics

  C.4     Symbols for System Backup Operator Intervention

  C.5     Symbols for System Backup Resource Allocation

  C.6     Symbols for System Backup Volume Disposition

  C.7     Symbols for System Backup Device Control

  C.8     Symbols for System Backup Status and Information

  D   Remote Backup Worksheet

  Glossary

  G.1     About This Glossary
    absolute time . . . archiving
    ASCII . . . client file system
    client metadata . . . down
    EBCDIC . . . labeled
    LEBCDIC . . . OPCOM
    OPER privilege . . . robot
    save process . . . system backup
    tag template . . . Volume ID
    VAX JCS . . . wildcard character

  EXAMPLES

  4-1        SYSBAK.TEMPLATE

  7-1        Volume Report

  FIGURES

  1-1        Storage Hardware Hierarchy

  1-2        SLS Server and Client Processes

  2-1        SLS Administrator Menu

  2-2        Operator Menu

  2-3        User Menu

  3-1        SYSCLN Menu

  3-2        Start SYSCLN Processing Screen

  3-3        Shutdown SYSCLN Processing Screen

  3-4        Delete User Histories Screen

  5-1        Manual System Backup

  5-2        Save Screen

  6-1        Full Disk Restore Screen

  6-2        Restore Screen

  8-1        File Retention Times

  8-2        Standby Archive Menu

  8-3        Startup Standby Archive Menu Screen Display

  8-4        Shutdown Standby Archive

  8-5        Inquire Pending Jobs

  8-6        B1C.TEMPLATE

  TABLES

  2-1        Operator Menu Options

  2-2        User Menu Options

  3-1        Values for SEPARATE_VERSION

  3-2        How to Change Pointer Values

  3-3        Values for NULL_NODE

  3-4        Transferring Existing Backup Files if no Listing Available

  3-5        Values for SLS$USRBAK Logical

  3-6        Accessing the SYSCLN Menu

  3-7        SYSCLN Menu Options Descriptions

  3-8        Start SYSCLN Processing

  3-9        Shutdown SYSCLN Processing

  3-10       Inquire SYSCLN Status

  3-11       Abort SYSCLN Process

  3-12       Delete User Histories

  3-13       How to Restore the Volume or Magazine Database from a BACKUP Copy

  3-14       How to Restore the SLS System History Files from a BACKUP Copy

  3-15       How to Manually Update SLS System History Files

  3-16       How to Implement a Data Safety Policy Using the VMS Backup Utility with VAX RMS Journaling

  3-17       How to Respond to a VAX RMS Journal Device Failure

  4-1        How to Specify Days to Run Operations

  4-2        Execution Sequence for Pre- and Post-Processing Symbols

  4-3        Symbols Enabled for Pre- and Post-Processing

  4-4        When to use QUALIFIERS or QUALIFIERS_n

  4-5        Recommended QUALIFIERS or QUALIFIERS_n Assignments

  4-6        Mount Action Symbol Assignments

  4-7        Values for SAVESET_GEN

  4-8        How to Generate Save Set Names

  4-9        Values for AUTOSEL

  4-10       How to Handle System Backup Volumes

  4-11       Values for CONTLOADOPT

  4-12       Values for OFFSITE_DATE and ONSITE_DATE

  4-13       Values for TAPE_LABELS

  4-14       Values for DRIVE_TYPE

  4-15       SLS Implementation of N_DRIVES Symbol

  4-16       Values for PROGRESS Symbol

  4-17       Values for SUMMARY_FILE

  5-1        Setting Save Screen Defaults using BAKOPT

  5-2        Values for BACKUP_DEFAULT_REEL

  5-3        Manual System Backup Procedure

  5-4        Keys Defined for User Save Operations

  5-5        Save Screen

  5-6        How Unattended Backup Operations Work

  5-7        Performing an Unattended System Backup Operation

  5-8        Unattended System Backups Using Preallocated Volume Sets

  6-1        Values for RESOPT

  6-2        Full Disk Restore

  6-3        Ways to Restore a File or Group of Files

  6-4        Defined Keys for Restore Screen

  6-5        Restore Screen

  7-1        Process for Defining Database System Backup Operations

  7-2        Symbols with New Meanings

  7-3        Process for Restoring a Database

  8-1        Preparing for Automatic Archiving

  8-2        Automatic Archiving Symbols in ARCHIVE_SBK.COM

  8-3        The Standby Archive Process

  8-4        How to Access the Standby Archive Menu

  8-5        Options for Standby Archive Menu

  8-6        Start Up Standby Archive

  8-7        Shutdown Standby Archive

  8-8        Inquire Pending Jobs

  8-9        Abort Standby Archive

  8-10       How to Authorize Class Access for a User

  8-11       Creating a User Save Request For Standby Archiving

  9-1        Inquire Pending Jobs

  9-2        Report of Files on User Backups

  9-3        Report of Files on System Backups

  A-1        STORAGE Commands

  B-1        TAPESTART.COM Symbols for Configuration

  B-2        TAPESTART.COM Symbols for Standby Archiving

  B-3        TAPESTART.COM Symbols for Restore Operations

  C-1        Symbols for System Backup Control

  C-2        Symbols for System Backup Type

  C-3        Symbols for System Backup Volume Characteristics

  C-4        Symbols for System Backup Operator Intervention

  C-5        Symbols for System Backup Resource Allocation

  C-6        Symbols for System Backup Volume Disposition

  C-7        Symbols for System Backup Device Control

  C-8        Symbols for System Backup Status and Information

  D-1        Planning Remote Backups-Worksheet