Create a Hyper-V Backup Job Definition

BEFORE YOU BEGIN:

CONSIDERATIONS:

  • If a virtual machine is associated with multiple SLA Policies, ensure that the policies are not scheduled to run concurrently. It is recommended to either schedule the SLA Policies to run with a significant amount of time between them, or combine them into a single SLA Policy.
  • If the IP address of the IBM Spectrum Protect Plus appliance is changed after an initial Hyper-V base backup is created, the target IQN of the Hyper-V resource may experience connectivity issues. To correct this issue, from the Microsoft iSCSI Initiator tool, click the Discovery tab. Select the old IP address, then click Remove. Click the Target tab and disconnect the reconnecting session.

To create a Hyper-V Backup job definition:

  1. From the navigation menu, expand Manage Protection, then expand Hypervisors. Expand Hyper-V, then click Backup.
  2. Select resources to back up. Use the search function to search for available resources and toggle the displayed resources through the View filter. Available options include VMs and Datastore.
  3. Click Select SLA Policy to add an SLA Policy to the job definition that meets your backup data criteria.
  4. To create the job definition using default options, click Save. The job runs as defined by your SLA Policy, or can be run manually from the Job Monitor pane.
  5. To edit options before creating the job definition, click Select Options. Set the job definition options.
  6. Make VM snapshot application/file system consistent
  7. Enable to turn on application or file-system consistency for the virtual machine snapshot.
  8. Skip Read-only datastores
  9. Enable to skip datastores mounted as read-only.
  10. Skip temporary datastores mounted for Instant Access
  11. Enable to exclude temporary Instant Access datastores from the backup job definition.
  12. Catalog file metadata
  13. To turn on file indexing for the associated snapshot, enable the Catalog file metadata option. Once file indexing completes, individual files can be restored through the File Restore pane in IBM Spectrum Protect Plus. Note that credentials must be established for the associated virtual machine through the Guest OS Username and Guest OS Password option within the backup job definition. Ensure the virtual machine can be accessed from the IBM Spectrum Protect Plus appliance either through DNS or host-name.
  14. Truncate SQL logs
  15. To truncate application logs for SQL during the Backup job, enable the Truncate SQL logs option. Note that credentials must be established for the associated virtual machine through the Guest OS Username and Guest OS Password option within the backup job definition. The user identity follows the default domain\Name format if the virtual machine is attached to a domain. The format .\<local administrator> is used if the user is a local administrator.
  16. The user identity must have local administrator privileges. Additionally, on the SQL server, the system login credential must have SQL sysadmin permissions enabled, as well as the "Log on as a service" right, which is assigned through the Administrative Tools control panel on the local machine (Local Security Policy > Local Policies > User Rights Assignment > Log on as a service). For more information about the "Log on as a service" right, see https://technet.microsoft.com/en-us/library/cc794944.aspx.
  17. IBM Spectrum Protect Plus generates logs pertaining to the log truncation function and copies them to the following location on the IBM Spectrum Protect Plus appliance: /data/log/guestdeployer/<Latest-Date>/<Latest-Entry>/<VM name>.
  18. VM Snapshot retry attempts
  19. Set the number of times IBM Spectrum Protect Plus should attempt to snapshot a virtual machine before canceling the job.
  20. Use existing user
  21. Enable to select a previously entered username and password for the provider.
  22. Guest OS Username/Password
  23. For some tasks (such as cataloging file metadata, file restore, and IP reconfiguration), credentials must be established for the associated virtual machine. Enter the username and password, and ensure the virtual machine can be accessed from the IBM Spectrum Protect Plus appliance either through DNS or host-name.
  24. The default security policy uses the Windows NTLM protocol, and the user identity follows the default domain\Name format if the Hyper-V virtual machine is attached to a domain. The format <local administrator> is used if the user is a local administrator.
  25. To troubleshoot a connection to a hypervisor virtual machine, use the Test function. The Test function verifies communication with the virtual machine and tests DNS settings between the IBM Spectrum Protect Plus appliance and the virtual machine. To test a connection, select a single virtual machine, then click Select Options. Select Use existing user and select a previously entered username and password for the resource. A new Test button appears to the right of the Save button at the bottom of the Options section. Click Test.
  26. When you are satisfied that the job-specific information is correct, click Save. The job runs as defined by your SLA Policy, or can be run manually from the Job Monitor pane.
  27. To configure additional options, click the Options field associated with the job in the SLA Policy Status section. If no additional options are currently configured for the job, the field will display Not Configured. Set the additional job options.
  28. Pre-scripts and Post-Scripts
  29. In the Pre-Script and/or Post-Script section, select an uploaded script and a script server where the script will run. Scripts and script servers are configured through the Jobs and Monitoring > Script pane. See Configure Scripts.
  30. Pre-scripts and post-scripts are scripts that can be run before or after a job runs at the job-level. Windows-based machines support Batch and PowerShell scripts while Linux-based machines support shell scripts.
  31. Continue job/task on script error - When enabled, if a Pre-script completes with a non-zero return code, the backup or restore is attempted and the Pre-script task status returns COMPLETED. When disabled, the backup or restore is not attempted, and the Pre-script task status returns FAILED. If a Post-script completes with a non-zero return code, the Post-script task status returns COMPLETED. When disabled, the Post-script task status returns FAILED.
  32. Exclude Resources
  33. Exclude specific resources from the backup job through single or multiple exclusion patterns. Resources can be excluded through an exact match or with wildcard asterisks specified before the pattern (*test) or after the pattern (test*). Multiple asterisk wildcards are also supported in a single pattern. Patterns support standard alphanumeric characters as well as the following special characters: - _ and *. Separate multiple filters with a semicolon.
  34. Force Base Resources
  35. Force base backups for specific virtual machines or databases in the Backup job definition. All previous backup information associated with the resource will be removed. Separate multiple resources with a semicolon.
  36. Once complete, click Save.

 


IBM Spectrum Protect Plus 10.1.2

Licensed Material - Property of IBM Corp. © IBM Corporation and other(s) 2018. IBM is a registered trademark of the IBM Corporation in the United States, other countries, or both. | 8/23/2018