Creating a Backup Policy

A backup policy defines rules for executing backup jobs and generating backups. A backup plan can initiate a backup job only after a backup policy is set for the backup plan. You can create different backup policies to meet diverse backup requirements.

Procedure

  1. On the navigation bar, choose > Backup Policy.
  2. Click Create.
  3. Enter the basic information of a backup policy.

    Table 1 Policy parameters

    Parameter

    Description

    Configuration Rule

    Backup Policy Name

    Name of a backup policy. The name is user-definable.

    The name contains 1 to 128 letters, digits, pluses (+), underscores (_), hyphens (-), periods (.), and the at symbol (@).

    Description

    Description of a backup policy.

    The description contains a maximum of 1024 characters.

    Schedule

    Plan for executing backup jobs for which a specific backup policy is set. The value can be Periodic or One time.

    When Schedule is set to Periodic, you need to set scheduling plans for incremental backup. You can determine whether to enable periodic full backup based on site requirements. Related parameters are described as follows:

    NOTE:

    If incremental backup and full backup are set to be executed at the same point in time, the system will execute full backup first.

    • Weeks in a Month: Execute backup jobs weekly or in a specific week of each month.
    • Days in a Week: Execute backup jobs on a certain day of a week, which is used together with Weeks in a Month. For example, execute backup jobs on Wednesday and Sunday in the first week of each month.
    • Excluded Days in a Month: Execute backup jobs not in those specific days.
    • Execution Time: A specific point in time. The system automatically executes backup jobs at the point in time. You can set one or more points in time. The system performs backup jobs in time sequence.
    • Execution Period: A specific execution period. The system executes a backup job many times at a certain interval within a specific period of time. You can set one or more execution periods.
    NOTE:
    • A new backup job is started only after an ongoing backup job is completed.
    • After a VM is added to a protected set that is associated with a backup plan within a specific period of time, the system will start a backup job for the VM when the specific period of time is exceeded even though an ongoing backup job is not completed.
    • If the specific period of time is exceeded, an ongoing backup job can continue but the backup job in Pending state will not be processed.

    The more frequently data is backed up, the more thoroughly data is protected; however, the backup time is also longer, requiring a longer backup time and occupying larger space. Choose a schedule based on data importance and service volume. Adopt a high backup frequency for important data.

    One time

    Specifies that backup jobs to which a specific backup policy is set are executed only once. The backup policy execution time needs to be set. If this parameter is set, the system automatically executes full backup instead of incremental backup. This parameter is available only when Schedule is set to One time.

    The backup policy execution time must be later than the current system time.

    Retention

    Defines the retention and the number of the backups generated by a protected object. Three types of Retention are available:

    • Permanent

      Backups are retained permanently.

    • By Backup Quantity

      Total number of retained backups

      It refers to the total number of retained backups that are generated by a protected object. Once the number of generated backups exceeds the value, the system automatically deletes the earliest generated backups (and the backups are not in the range of Number of retained backups in a year/month/week/day).

      Number of retained backups in a year/month/week/day

      One backup is retained in every year, month, week, or day since the current time to the time you set. If the current year is 2014 and you want to retain one backup every year in the previous 3 years, the system will retain the latest backups generated in years 2011, 2012, and 2013.

    • By Time

      Retained for a period

      Backup images generated according to a backup policy will be retained for xx years, months, weeks, or days. Once the retention period is exceeded, the system automatically deletes expired backups.

      Retained until a specific day

      Backups generated according to a backup policy will be retained to a specific point in time. Once the point in time is exceeded, the system automatically deletes expired backups.

    • The value of total number of retained backups ranges from 1 to 100, and the default value is 90.
    • The value of the number of retained backups in a year ranges from 0 to 999, and the default value is 10.
    • The value of the number of retained backups in a month ranges from 0 to 999, and the default value is 10.
    • The value of the number of retained backups in a week ranges from 0 to 9999, and the default value is 10.
    • The value of the number of retained backups in a day ranges from 0 to 99999, and the default value is 10.
    NOTE:

    The total number of retained backups and the number of snapshots retained periodically cannot be empty at the same time.

    • The value of the retention period for years ranges from 1 to 25, and the default value is 1.
    • The value of the retention period for months ranges from 1 to 300, and the default value is 1.
    • The value of the retention period for weeks ranges from 1 to 1300, and the default value is 1.
    • The value of the retention period for days ranges from 1 to 9125, and the default value is 1.

    If backups are retained permanently, they can be used to restore data at any time. However, space occupied by backups cannot be reused. If the space provided by repository is used up by backups, the system will not generate new backups.

    When determining the number of retained backups and the retention period, consider the following:

    • Data importance and disaster recovery requirements. If data of the latest month must be retained, you are advised to set the retention period to at least one month.
    • Available space of repository. If the available space of repository is sufficient, you are advised to retain multiple copies of important backups or retain those backups for a long time.

    Create Verification Data

    After this option is enabled, the system will create verification data for backup data and verify the integrity and consistency of backup data. If this option is disabled, the system only verifies the consistency of backup metadata. The verification data is used to ensure integrity and consistency of backup data when full verification is executed for backups.

    NOTE:

    Backup data is the real data of users. Backup metadata is the additional information about location of data blocks, number of disks and so on.

    This function will affect backup performance. If you have demanding requirements on integrity and consistency of backup data and have no requirements on backup performance, you are advised to enable this option to ensure data availability after data restore.

    Data Layout

    Format of backup data saved on the backup storage. The value can be:

    Compress:Compressing backup data effectively helps save storage space.

    -

    Retry

    Maximum number of retries. After setting the parameter value to ON, you need to set Retry Times and Retry Window. The retry time window specifies the maximum time duration allowed for the backup job to retry since its failure.

    The value of retry times ranges from 1 to 10.

    The value of the retry window ranges from 1 to 168.

    For example, backup job A is performed at 9:00. At 9:10, backup job A fails. In the retry plan, the number of retries is set to 3 and the retry window is set to one hour. By default, the system performs a failed backup job five minutes after the backup job execution failure. Therefore, backup job A is performed again between 9:15 and 10:10.

    • If backup job A still fails after three retries within the specified period or the three retries cannot be completed within the specified period, the system will not perform backup job A again.
    • If backup job A successes within the specified period, the system will not perform backup job A again.

  4. Click OK.