Modify an Automatic Backup Schedule

The following table shows the properties that can be modified for an autotmatic backup.

Property Description

frequency

The timeframe you want for each scheduled backup. Snapshots to be used for backups can be taken half-hourly, hourly, daily, weekly, or monthly.

day

For schedules with a weekly or monthly frequency, specifies the day the backup runs. Use the name of the day, for example "Sunday".

hour

The hour of the day (in 24-hour format) when the backup starts.

minute

The minute past the hour when the backup begins.

target

The name for the cloud target.

encrypted

Optional. If the share is encrypted, you can also encrypt the backup. Select true to encrypt the backup.

incremental

Optional. Sets the number of incremental backups to be performed between full backups.

Example:

curl -XPUT -H "Content-Type: application/json" -k -u user:password \
  https://hostname:215/api/storage/v2/pools/p0/projects/ps/automaticbackup/automatic-000 \
  -d '{
    "frequency": "hour",
    "minute": "00",
    "target": "pl-project-backup",
    "format": "zfs",
    "encrypted": false,
    "incremental": 0
  }'