Creating a Safeguarded Copy Backup

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

Before you begin

Procedure

  1. Click the Jobs tab. Expand the Storage Controller folder, then select IBM Storage Virtualize.
  2. Click New, then select Backup. The job editor opens.
  3. Enter a name for your job definition and a meaningful description.
  4. From the list of available volumes select the volume to backup. To exclude Flash Copies from the list of sources, select Exclude Flash Copies.
  5. Select an SLA policy that meets your backup data criteria.
  6. Click the job definition's associated Schedule Time field and select Enable Schedule to set a time to run the SLA policy. If a schedule is not enabled, run the job on demand through the Jobs tab. Repeat as necessary to add additional SLA policies to the job definition.

    If configuring more than one SLA policy in a job definition, select the Same as workflow option to trigger multiple SLA policies to run concurrently.

    Tip: Only SLA policies with the same RPO frequencies can be linked through the Same as workflow option. Define an RPO frequency when creating an SLA policy.
  7. To create the job definition using default options, click Create Job. The job runs as defined by your triggers, or can be run manually from the Jobs tab.
  8. To edit options before creating the job definition, click Advanced. Set the job definition options.
    Skip the Flash Copy Target Volumes
    Select this option to ensure FlashCopy® target volumes are excluded from jobs associated with the SLA policy.
    Maximum concurrent tasks
    Set the maximum amount of concurrent transfers between the source and the destination.
    Create consistency group
    If multiple volumes are selected in the Source tab (for example, volumes that contain data tied to an application) enable this option to add the volumes to a FlashCopy or Global Mirror Consistency Group to perform Copy Data functions on the entire group. If the associated SLA policy contains both FlashCopy and Global Mirror subpolicies, a separate Consistency Group will be created for each copy type. If more than one IBM provider is selected in the job definition, a Consistency Group is created for each provider. Consistency Groups are named based on the prefix that is provided during job creation plus the job name.
    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 Post-Script section, click Select to select a previously uploaded script, or click Upload to upload a new script. 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 at add a parameter to the script, then click Add. 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 required to run the script. Finally, click the Application Server field to define the location where the script will be injected and executed. For parameter examples, see Using State and Status Arguments in Postscripts.
    Repeat the above procedure to add additional Pre-Scripts and Post-Scripts. For information about script return codes, see Return Code Reference.
    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.

    To execute scripts on a remote Linux server, see Custom selection of a directory for script execution on a remote Linux server.

    Job-level snapshot scripts
    Snapshot prescripts and postscripts are scripts that can be run before or after a storage-based snapshot task runs. The snapshot prescript runs before all associated snapshots are run, while the snapshot postscript runs after all associated snapshots complete. 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. 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 at add a parameter to the script, then click Add. 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. For parameter examples, see Using State and Status Arguments in Postscripts.
    Repeat the above procedure to add additional Pre-Scripts and Post-Scripts. For information about script return codes, see Return Code Reference.
    _SNAPSHOTS_ is an optional parameter for snapshot postscripts that displays a comma separated value string containing all of the storage-based snapshots that are created by the job. The format of each value is as follows: <registered provider name>:<volume name>:<snapshot name>.
    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.
  9. 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.

  10. When you are satisfied that the job-specific information is correct, click Create Job. The job runs as defined by your triggers, or can be run manually from the Jobs tab.

What to do next

Note: