cloud_backup.update¶
Update the cloud backup entry id with data.
No Additional Items
Tuple Validation
Parameter 1: id
id
Type: integerID of the cloud backup task to update
Parameter 2: data
data
Type: objectNo Additional Properties
Description
Type: stringThe name of the task to display in the UI
Path
Type: stringThe local path to back up beginning with /mnt
or /dev/zvol
Credentials
Type: integerID of the cloud credential to use for each backup
Attributes
Type: objectAdditional information for each backup, e.g. bucket name
Cron schedule dictating when the task should run
Pre Script
Type: stringA Bash script to run immediately before every backup
Post Script
Type: stringA Bash script to run immediately after every backup if it succeeds
Snapshot
Type: booleanWhether to create a temporary snapshot of the dataset before every backup
Include
Type: array of stringPaths to pass to restic backup --include
Each item of this array must be:
Must be at least 1
characters long
Exclude
Type: array of stringPaths to pass to restic backup --exclude
Each item of this array must be:
Must be at least 1
characters long
Args
Type: string(Slated for removal)
Enabled
Type: booleanCan enable/disable the task
Password
Type: stringPassword for the remote repository
Must be at least 1
characters long
Keep Last
Type: integerHow many of the most recent backup snapshots to keep after each backup
Value must be strictly greater than 0
Transfer Setting
Type: enum (of string)DEFAULT:
- pack size given by $RESTIC_PACK_SIZE
(default 16 MiB)
- read concurrency given by $RESTIC_READ_CONCURRENCY
(default 2 files)
PERFORMANCE:
- pack size = 29 MiB
- read concurrency given by $RESTIC_READ_CONCURRENCY
(default 2 files)
FAST_STORAGE:
- pack size = 58 MiB
- read concurrency = 100 files
Must be one of:
- "DEFAULT"
- "PERFORMANCE"
- "FAST_STORAGE"
CloudBackupEntry
Type: objectThe updated cloud backup task
No Additional PropertiesDescription
Type: string Default: ""The name of the task to display in the UI
Path
Type: stringThe local path to back up beginning with /mnt
or /dev/zvol
Cloud credentials to use for each backup
Attributes
Type: objectAdditional information for each backup, e.g. bucket name
Cron schedule dictating when the task should run
Pre Script
Type: string Default: ""A Bash script to run immediately before every backup
Post Script
Type: string Default: ""A Bash script to run immediately after every backup if it succeeds
Snapshot
Type: boolean Default: falseWhether to create a temporary snapshot of the dataset before every backup
Include
Type: array of string Default: []Paths to pass to restic backup --include
Each item of this array must be:
Must be at least 1
characters long
Exclude
Type: array of string Default: []Paths to pass to restic backup --exclude
Each item of this array must be:
Must be at least 1
characters long
Args
Type: string Default: ""(Slated for removal)
Enabled
Type: boolean Default: trueCan enable/disable the task
Password
Type: stringPassword for the remote repository
Must be at least 1
characters long
Keep Last
Type: integerHow many of the most recent backup snapshots to keep after each backup
Value must be strictly greater than 0
Transfer Setting
Type: enum (of string) Default: "DEFAULT"DEFAULT:
- pack size given by $RESTIC_PACK_SIZE
(default 16 MiB)
- read concurrency given by $RESTIC_READ_CONCURRENCY
(default 2 files)
PERFORMANCE:
- pack size = 29 MiB
- read concurrency given by $RESTIC_READ_CONCURRENCY
(default 2 files)
FAST_STORAGE:
- pack size = 58 MiB
- read concurrency = 100 files
Must be one of:
- "DEFAULT"
- "PERFORMANCE"
- "FAST_STORAGE"
Absolute Paths
Type: boolean Default: falseWhether to preserve absolute paths in each backup (cannot be set when snapshot=True
)
Id
Type: integerJob
Information regarding the task's job state, e.g. progress
Locked
Type: booleanA locked task cannot run
Required roles: CLOUD_BACKUP_WRITE