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:
- In the Policies page, click Add policy to open the
Create a backup policy panel.
- Enter the policy name and select the desired frequency (Hourly, Daily, Weekly, Monthly, or
Custom) with specific times and days.
- Select between In place snapshot or Object storage for the backup location.
- Enter the retention period.
- Click Create policy.
Procedure
-
Log in to IBM Fusion user
interface.
- From the menu, click .
- Click Add policy.
The Create a backup
policy slide out pane displays on the screen.
- In the Create a backup policy pane, enter the following details to
create a new backup policy that meets your business needs:
- Enter the Policy name.
- Enter the Frequency details:
- 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.
- 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.
- 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.
- 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.
- Click Create policy.
A message gets displayed
informing you about the successful creation of a new backup policy along with the policy
name.