Migrating to an incremental-forever incremental backup strategy

Use this procedure to migrate existing backup schedules, policies, and data mover nodes for use in an incremental forever backup strategy.

Before you begin

You can use the incremental-forever full backup strategy that was implemented in Data Protection for VMware version 6.2 and 6.3. If you want to continue to use the incremental-forever full backup strategy, you do not need to change your policy or schedules. You must ensure that you upgrade only your data mover nodes to version 6.4 (or later), as documented in the following procedure. However, if you want to use the incremental-forever incremental backup strategy, in addition to updating the data mover nodes to version 6.4 (or later), you must also update the schedules and policy for those data mover nodes that move to this incremental-forever incremental backup strategy.


To migrate existing Data Protection for VMware schedules to an incremental-forever incremental backup strategy, you must complete the tasks documented in this procedure.

Important:
  • Although some tasks are discrete, all applications and components must be upgraded eventually to completely benefit from the incremental-forever incremental strategy. This publication provides all information to guide you through each task.
  • There are several methods available to complete the entire migration process. However, the methods documented in this publication are considered efficient methods for typical Data Protection for VMware environments.
  • The schedule to be migrated in this procedure is a schedule that was created with the Data Protection for VMware vSphere GUI backup wizard. If the schedule to be migrated was created manually, then the schedule updates identified in this procedure must also be made manually.

About this task

Procedure

  1. Upgrade all vStorage Backup Servers protecting a single vCenter. Make sure that this upgrade is completed at the same time for all data mover nodes.
    • This upgrade requires installing IBM Spectrum Protect™ Data Mover version 6.4 (or later) on the vStorage Backup Server.
    • As a discrete task, you do not have to complete Step 2 or Step 3 immediately following Step 1. After upgrading the data mover nodes, you can continue to back up VMs in your existing environment. You can complete Step 2 and Step 3 when a more convenient opportunity becomes available.
    Tip: If your environment uses multiple vStorage Backup Servers, consider upgrading only one server. Then, verify that your server operates successfully before upgrading the remaining vStorage Backup Servers.
  2. Update the backup policy and backup schedules to implement incremental-forever incremental backups:
    Complete the following backup policy tasks on the IBM Spectrum Protect server by issuing commands in the administrative command-line client (dsmadmc):
    1. Create a management class for the appropriate domain and policy set for your incremental-forever incremental backups. This example creates management class mgmt_ifincr28 for domain domain1 and policy set prodbackups. The management class name is used to describe an incremental-forever incremental backup strategy that retains 28 backup versions:
      define mgmtclass domain1 prodbackups mgmt_ifincr28 description="Retain 28 backup versions"
    2. Create a backup copy group for your incremental-forever incremental backups. This example creates a standard backup copy group for domain domain1, policy set prodbackups, and management class mgmt_ifincr28:
      define copygroup domain1 prodbackups mgmt_ifincr28 standard type=backup
      The standard type=backup entries are default values and are not required to be specified. They are included in this example to illustrate that the copy group name is STANDARD and that the type of copy group is backup (instead of archive).
    3. Update the backup copy group with the appropriate version, retention, and expiration settings:
      Remember: In Data Protection for VMware version 6.2 and 6.3, backup version, retention, and expiration is based on a backup-chain granularity level. This method means that even though both incremental-forever full and incremental-forever incremental backups are taken (as part of the 6.2 and 6.3 incremental-forever full backup strategy), version expiration counts only full backups. In Data Protection for VMware version 6.4 (or later), backup version, retention, and expiration is based on a single-backup granularity level. This method means that version expiration counts both incremental-forever full and incremental-forever incremental backups.


      The verexists parameter specifies the maximum number of VM backup versions to retain on the server. If an incremental-forever incremental backup operation causes the number to be exceeded, the server expires the oldest backup version that exists in server storage. This example specifies verexists=28. This value means that a maximum of 28 VM backup versions are retained on the server.



      The retextra parameter specifies the maximum number of days to retain a VM backup version, after that version becomes inactive. This example specifies retextra=nolimit. This value means that the maximum number of inactive VM backup versions are retained indefinitely. However, when verexists is specified, the nolimit value is superseded by the verexists value. As a result, in this example, a maximum of 28 inactive VM backup versions are retained on the server.

    Based on the settings described in this step, the backup copy group is updated as follows:
    update copygroup domain1 prodbackups mgmt_ifincr28 verexists=28 retextra=nolimit

    In this example, the existing Data Protection for VMware version 6.3 environment consists of the following hosts and schedules:
    • An ESX cluster (esxcluster) that contains two ESX hosts (esxhost1, esxhost2).
    • The bup_esxcluster_full schedule runs a weekly incremental-forever full backup of each ESX host with data mover node dm1.
    • The bup_esxcluster_incr schedule runs a daily incremental-forever incremental backup of each ESX host with data mover node dm2.
    Complete the following backup schedule tasks in the Data Protection for VMware vSphere GUI:
    1. Start the Data Protection for VMware vSphere GUI by clicking the icon in the Solutions and Applications window of the vSphere Client.
    2. In the Getting Started window, click the Backup tab to open the Managing backup schedules window.
    3. Locate the backup schedule (used for incremental-forever full or incremental backups) to update. In this procedure, the incremental-forever full bup_esxcluster_full schedule is used.
    4. Right-click the schedule and select Properties.
    5. Go to the Schedule page and specify Incremental from the Backup strategy drop-down list.
    6. Click OK to save your update.
    7. Locate the backup schedule used for incremental-forever incremental backups. Right-click the schedule and select Delete. Since the incremental-forever full bup_esxcluster_full schedule was updated to incremental-forever incremental, this incremental-forever incremental schedule is no longer needed.
  3. Now that you have an incremental-forever incremental backup schedule, you can reduce the number of data mover nodes by consolidating them:

    This example consolidates two data mover nodes into one data mover node.
    1. On the vStorage Backup Server, open a command prompt and go to the directory where the options file for dm1 is located.
    2. Using a text editor (such as Notepad), update this file with the following options:
      1. Specify vmmaxparallel to control the number of VMs backed up at one time by dm1:
        vmmaxparallel=2
        The default value and minimum value are 1. The maximum value is 50.
        Tip: For every data mover node you remove, increase the vmmaxparallel value by 1.

        Alternatively, you can specify vmlimitperhost to control the number of VMs backed up at one time by dm1 from the same ESX host:
        vmlimitperhost=1
        This option is useful when wanting to prevent a host from being overloaded. The default value is 0 (no limit). The minimum value is 1. The maximum value is 50.
    3. Log on the IBM Spectrum Protect server. Use the administrative command-line client (dsmadmc) to specify the maximum number of simultaneous VM backup sessions that can connect with the server. For example:

      maxsessions=4
      The default value is 25. The minimum value is 2.
  4. Verify that the updated data mover nodes are working properly:
    1. Start the Data Protection for VMware vSphere GUI by clicking the icon in the Solutions and Applications window of your vSphere Client.
    2. In the Getting Started window, click the Configuration tab to view the Configuration Status page.
    3. In the Configuration Status page, select the vCenter that is protected in Step 1. Click a data mover node to view its status information in the Status Details pane. When a node displays a warning or error, click that node and use the information in the Status Details pane to resolve the issue. Then, select the node and click Validate Selected Node to verify whether the issue is resolved. Click Refresh to retest all nodes.

Results

Upon successful completion of each task, the environment is ready for use in an incremental-forever incremental backup strategy.



Restrictions: After migrating schedules from incremental-forever full backup types to incremental-forever incremental backup types, be aware of the following restrictions:
  • Changing migrated schedules back to incremental-forever full backup types per VM (file space) is not supported.
  • Using an earlier version of the IBM Spectrum Protect data mover on a migrated file space is not supported.
  • When a file space contains one (or more) incremental-forever incremental backups, a incremental-forever full backup is not supported.

Example of version control with the verexists parameter

In this schedule migration example, Data Protection for VMware version 6.3 uses the following two backup schedules:
  • -mode=full: A weekly incremental-forever full backup is scheduled (Sundays) and the maximum number of VM backup versions to retain on the server is four (verexists=4).
  • -mode=incr: A weekday incremental-forever incremental backup is scheduled (Monday through Saturday).
The number of backups taken for a four week period is 28:
  • Four incremental-forever full backups (one weekly full backup multiplied by four weeks)
  • 24 incremental-forever incremental backups (six weekday incremental backups multiplied by four weeks)
Since Data Protection for VMware version 6.3 counts only full backups, the verexists=4 value preserves all 28 backups.
To provide the same level of protection with Data Protection for VMware version 6.4 (or later) and the incremental-forever incremental backup strategy, create the following schedule:
-mode=iffull: A daily incremental-forever full backup is scheduled and the verexists parameter is set to 28.
The number of backups taken for a four week period is 28:
  • One incremental-forever full backup (initial backup multiplied by one day)
  • 27 incremental-forever incremental backups (daily incremental forever backups multiplied by 27 days)
Since Data Protection for VMware version 6.4 (or later) counts both incremental-forever full and incremental-forever incremental backups, the verexists=28 value preserves all 28 backups.