Creating backup policy

You can add new backup policies from the Backup page of the user interface.

Before you begin

As a prerequisite to create a backup policy with object storage, you must first add a backup storage location.

To know more about configuring the target backup storage Location, see Backup storage locations.

About this task

To manage the backup polices and backup location by using CRs, see Backup and restore as code.

High-level steps to create a policy:
  1. In the Policies page, click Add policy to open the Create a backup policy panel.
  2. Enter the policy name and select the desired frequency (Hourly, Daily, Weekly, Monthly, or Custom) with specific times and days.
  3. Select between In place snapshot or Object storage for the backup location.
  4. Enter the retention period.
  5. Click Create policy.

Procedure

  1. Log in to IBM Fusion user interface.
  2. From the menu, click Backup & Restore > Policies.
  3. Click Add policy.
    The Create a backup policy slide out pane displays on the screen.
  4. In the Create a backup policy pane, enter the following details to create a new backup policy that meets your business needs:
    1. Enter the Policy name.
    2. Enter the Frequency details:
      1. Enter whether the frequency is Hourly, Daily, Weekly, Monthly, or Custom:
        Hourly
        Choose a time.
        Daily
        Choose a time.
        Weekly
        Select a day for Schedule and Choose a time.
        Monthly
        Choose a day from calendar and time.
        Custom
        Choose a specific day and time.
      2. If you select frequency intervals of 1 day or more, the Time window section is visible on the screen for you to select a start time, end time, and time zone.
        Note: Consider the following points when you enter details in the Time Window:
        • The minimum time window is 4 hours from start to end time. An error message gets displayed whenever the time window is less than 4 hours.
        • When you change the start time, the end time is automatically adjusted to reflect the new start time plus the current time window duration.
        • When you change the end time, the duration between the start and end time is adjusted automatically, while the start time remains unchanged.
        • If the start and end times are identical, the duration is considered a 24-hour time window.
    3. Select either In place snapshot or Object storage from Backup Locations.
      In place snapshot
      For In place snapshot policies, the resource backup information is kept locally on the cluster in the backup and restore install namespace of the MinIO storage. The VolumeSnapshots and VolumeSnapshotContent objects are kept in the application namespace. The VolumeSnapshotContent objects that are not namespaced get stored at cluster scope. The restore job fails whenever you delete the VolumeSnapshots or VolumeSnapshotContent objects.
      At expiration time, the resource backup in MinIO, VolumeSnapshots, and VolumeSnapshotContents get deleted. The deletion of the used StorageClasses or VolumeSnapshotClass objects, which are used in backup and restore also causes the expiration to fail.
      Note: Capacity for in place snapshots is not available.
      Object storage
      Using the Object Storage option, you to choose from a list of available object storage. You can also use the Search option to filter the location records.
    4. Enter the retention period. It is the duration in which the backup copies exist in the storage location. Choose a value for its unit that can be days, weeks, months, or years.
      For example, 30 Days.
  5. Click Create policy.
    A message gets displayed informing you about the successful creation of a new backup policy along with the policy name.