Skip to main content
SnapManager for SAP

Use post-processing task specification to mirror volumes

Contributors

SnapManager for SAP enables you to use the script to mirror the volumes after the backup operation occurs in a Windows environment.

Steps
  1. Create a task specification XML file.

  2. In the XML file, enter the script name as an input parameter.

  3. Save the task specification XML file.

  4. Create a protected backup of the database to secondary storage using the following command.

    While creating the protected backup, you must provide the complete path of the saved task specification XML file after the -taskspec option.

    Example: smsapbackup create -profile test_profile -full -online -taskspec "C:\\mirror\\snapmirror.xml"

The following example shows a post-processing task specification structure if you are using Data ONTAP operating in 7-Mode:

#     <post-tasks>
#               <task>
#                   <name>Mirror the backup</name>
#                    <description>Mirror the backup</description>
#               </task>
#             <post-tasks>

The following example shows a post-processing task specification structure if you are using clustered Data ONTAP:

# <task-specification>
#              <post-tasks>
#                  <task>
#                   <name>"Vault the backup for cDOT"</name>
#                    <parameter>
#                    <name>SNAPSHOT_LABEL</name>
#                   <value>TST</value>
#                    </parameter>
#                  </task>
#                </post-tasks>
#              </task-specification>
#            </preposttask-specification>