Creating a Safeguarded Copy Restore

This procedure describes how to create a Safeguarded Copy (SGC) restore.

Before you begin

  • Create and run a Safeguarded Copy backup. For more information, see Creating a Safeguarded Copy SLA policy.
  • Configure at least one SMTP server for email notifications. Define a job, and then add SMTP resources. See Registering an SMTP provider.
  • Warning: The Safeguarded copies will be removed from storage after the retention period has expired as defined in storage SLA. IBM Storage Defender Copy Data Management may still display snapshots whose retention period has expired until the next run of maintenance job. Attempting to restore a snapshot that has expired will fail.
  • IBM providers utilize port 22 for communication with IBM Storage Defender Copy Data Management.
  • To restore data to an original volume, you must first offline the target disk on the host prior to recovery. Once recovery completes, bring the target disk back online.
  • After restoring data to an alternate location you must map the host to the restore volume on the IBM storage system. Next, rescan the disk on the host to bring the disk online.
  • In IBM storage environments, port grouping and IP partnerships are required to enable remote copy connections. See IBM's SAN Volume Controller and Storwize® Family Native IP Replication Guide.
  • One or more schedules might also be associated with a job. Job sessions run based on the triggers that are defined in the schedule. See Create a Schedule.

Procedure

  1. Click the Jobs tab. Expand the Storage Controller folder, then select IBM Storage Virtualize.
  2. Click New, then select Restore. The job editor opens.
  3. Enter a name for your job definition and a meaningful description.
  4. Select the Restore Volume(s) template.
  5. Click Source. From the drop-down menu, select Volume to select a source site and an associated IBM source to view volumes with available recovery points. Select one or more resources, and change the order in which the resources are recovered by dragging and dropping the resources in the grid.

    Alternatively, select Volume Search from the drop-down menu to search for volumes with available recovery points. Add volume copies to the job definition by clicking Add. Change the order in which the resources are recovered by dragging and dropping the resources in the grid.

  6. Click Copy. Sites containing copies of the selected data display. Select a site. By default, the latest copy will be used. If you would like to choose a specific version or use latest successful scan, select a site then click the Select Specific Version or Use Latest Successful Scan. Click the Use Latest or Use Latest Successful Scan to view specific copies and their associated job and completion time. If a selected recovery of a snapshot fails, another selection for the recovery should be done manually in the restore job, which will be a copy from the same site being used.
    Tip: When selecting a specific version, data that is created through VMware backup jobs that apply to the selected IBM resource display, as the same data is contained with the snapshot for VMware and non-VMware related data.
  7. Click Destination. To restore to the original volume, select Restore to original volume, or select Restore to alternative location and select a volume and associated pool. If no pool is selected, the pool with the largest amount of space available is chosen by default.
  8. To create the job definition using default options, click Create Job. The job can be run manually from the Jobs tab.
  9. To edit options before creating the job definition, click Advanced. Set the job definition options.
    Continue with next source on failure
    Toggle the recovery of a resource in a series if the previous resource recovery fails. If disabled, the restore job stops if the recovery of a resource fails.
    Automatically clean up resources on failure
    Enable to automatically clean up allocated resources as part of a restore if the volume recovery fails.
    Skip waiting for FC to finish copying during storage controller restore
    Enable to skip waiting for the FlashCopy® to finish copying during a storage controller restore job. This option is disabled by default.
    Job-level scripts
    Job-level pre-scripts and post-scripts are scripts that can be run before or after a job runs at the job-level. A script can consist of one or many commands, such as a shell script for Linux®-based virtual machines or Batch and PowerShell scripts for Windows™-based virtual machines.
    In the Pre-Script and/or Post-Script section, click Select to select a previously uploaded script, or click Upload to upload a new script. Note that scripts can also be uploaded and edited through the Scripts view on the Configure tab. See Configure Scripts.
    After completion, the script displays in the Pre-Script or Post-Script section. Click the Parameters field to add a parameter to the script, then click Add. Note that additional parameters can be added to a script by entering parameters one at a time in the field, then clicking Add. Next, click the Identity field to add or create the credentials that are required to run the script. Finally, click the Application Server field to define the location where the script will be injected and executed.
    Repeat the above procedure to add additional Pre-Scripts and Post-Scripts. For information about script return codes, see Return Code Reference.
    For restore job post-scripts only, the positional arguments state and status can be passed to the script. For information about this feature, see Using State and Status Arguments in Postscripts. State and status arguments are not supported for backup jobs.
    Select Continue operation on script failure to continue running the job if a command in any of the scripts that are associated with the job fails.
  10. Optionally, expand the Notification section to select the job notification options.
    SMTP Server
    From the list of available SMTP resources, select the SMTP Server to use for job status email notifications. If an SMTP server is not selected, an email is not sent.
    Recipients
    Enter the email addresses of the status email notifications recipients. Click Add to add it to the list.

    Click OK.

  11. Optionally, expand the Schedule section to select the job scheduling options. Select Start job now to create a job definition that starts the job immediately. Select Schedule job to start at later time to view the list of available schedules. Optionally select one or more schedules for the job. As each schedule is selected, the schedule's name and description displays.
    Tip: To create and select a new schedule, click the Configure tab, then select Schedules. Create a schedule, return to the job editor, refresh the Available Schedules pane, and select the new schedule.
  12. When you are satisfied that the job-specific information is correct, click Create Job. The job runs as defined by your schedule, or can be run manually from the Jobs tab.

What to do next

  • If you do not want to wait until the next scheduled job run, run the job session on demand. See Start, Pause, and Hold a Job Session.
  • Track the progress of the job session on the Jobs tab. See Monitor a Job Session.
  • If notification options are enabled, an email message with information about the status of each task is sent when the job completes.