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
CloudCron
Type: objectCron schedule dictating when the task should run
No Additional PropertiesMinute
Type: string Default: "00"Hour
Type: string Default: "*""00" - "23"
Dom
Type: string Default: "*""1" - "31"
Month
Type: string Default: "*""1" (January) - "12" (December)
Dow
Type: string Default: "*""1" (Monday) - "7" (Sunday)
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"
Cache Path
Cache path. If not set, performance may degrade.
CloudBackupEntry
Type: objectThe updated cloud backup task
No Additional PropertiesId
Type: integerDescription
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
CloudCredentialEntry
Type: objectCloud credentials to use for each backup
No Additional PropertiesId
Type: integerName
Type: stringMust be at least 1
characters long
Provider
AzureBlobCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "AZUREBLOB"
"AZUREBLOB"
Account
Type: stringMust be at least 1
characters long
Key
Type: stringMust be at least 1
characters long
Endpoint
Default: ""Must be one of:
- ""
""
Must be at least 1
characters long
Must be at most 2083
characters long
B2CredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "B2"
"B2"
Account
Type: stringMust be at least 1
characters long
Key
Type: stringMust be at least 1
characters long
BoxCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "BOX"
"BOX"
Client Id
Type: string Default: ""Client Secret
Type: string Default: ""Token
Type: stringMust be at least 1
characters long
DropboxCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "DROPBOX"
"DROPBOX"
Client Id
Type: string Default: ""Client Secret
Type: string Default: ""Token
Type: stringMust be at least 1
characters long
FTPCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "FTP"
"FTP"
Host
Type: stringMust be at least 1
characters long
Port
Type: integer Default: 21User
Type: stringMust be at least 1
characters long
Pass
Type: stringGoogleCloudStorageCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "GOOGLE_CLOUD_STORAGE"
"GOOGLE_CLOUD_STORAGE"
Service Account Credentials
Type: stringMust be at least 1
characters long
GoogleDriveCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "GOOGLE_DRIVE"
"GOOGLE_DRIVE"
Client Id
Type: string Default: ""Client Secret
Type: string Default: ""Token
Type: stringMust be at least 1
characters long
Team Drive
Type: string Default: ""GooglePhotosCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "GOOGLE_PHOTOS"
"GOOGLE_PHOTOS"
Client Id
Type: string Default: ""Client Secret
Type: string Default: ""Token
Type: stringMust be at least 1
characters long
HTTPCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "HTTP"
"HTTP"
Url
Type: stringFormat: uriMust be at least 1
characters long
Must be at most 2083
characters long
HubicCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "HUBIC"
"HUBIC"
Token
Type: stringMust be at least 1
characters long
MegaCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "MEGA"
"MEGA"
User
Type: stringMust be at least 1
characters long
Pass
Type: stringMust be at least 1
characters long
OneDriveCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "ONEDRIVE"
"ONEDRIVE"
Client Id
Type: string Default: ""Client Secret
Type: string Default: ""Token
Type: stringMust be at least 1
characters long
Drive Type
Type: enum (of string)Must be one of:
- "PERSONAL"
- "BUSINESS"
- "DOCUMENT_LIBRARY"
Drive Id
Type: stringPCloudCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "PCLOUD"
"PCLOUD"
Client Id
Type: string Default: ""Client Secret
Type: string Default: ""Token
Type: stringMust be at least 1
characters long
Hostname
Type: string Default: ""S3CredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "S3"
"S3"
Access Key Id
Type: stringMust be at least 1
characters long
Secret Access Key
Type: stringMust be at least 1
characters long
Endpoint
Type: string Default: ""Region
Type: string Default: ""Skip Region
Type: boolean Default: falseSignatures V2
Type: boolean Default: falseMax Upload Parts
Type: integer Default: 10000SFTPCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "SFTP"
"SFTP"
Host
Type: stringMust be at least 1
characters long
Port
Type: integer Default: 22User
Type: stringMust be at least 1
characters long
Pass
Default: nullPrivate Key
Default: nullStorjIxCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "STORJ_IX"
"STORJ_IX"
Access Key Id
Type: stringMust be at least 1
characters long
Secret Access Key
Type: stringMust be at least 1
characters long
Endpoint
Type: stringFormat: uri Default: "https://gateway.storjshare.io/"Must be at least 1
characters long
Must be at most 2083
characters long
SwiftCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "OPENSTACK_SWIFT"
"OPENSTACK_SWIFT"
User
Type: stringMust be at least 1
characters long
Key
Type: stringMust be at least 1
characters long
Auth
Type: stringMust be at least 1
characters long
User Id
Type: string Default: ""Domain
Type: string Default: ""Tenant
Type: string Default: ""Tenant Id
Type: string Default: ""Tenant Domain
Type: string Default: ""Region
Type: string Default: ""Storage Url
Type: string Default: ""Auth Token
Type: string Default: ""Application Credential Id
Type: string Default: ""Application Credential Name
Type: string Default: ""Application Credential Secret
Type: string Default: ""Auth Version
Must be one of:
- 0
- 1
- 2
- 3
Endpoint Type
Must be one of:
- "public"
- "internal"
- "admin"
WebDavCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "WEBDAV"
"WEBDAV"
Url
Type: stringFormat: uriMust be at least 1
characters long
Must be at most 2083
characters long
Vendor
Type: enum (of string)Must be one of:
- "NEXTCLOUD"
- "OWNCLOUD"
- "SHAREPOINT"
- "OTHER"
User
Type: stringPass
Type: stringYandexCredentialsModel
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "YANDEX"
"YANDEX"
Client Id
Type: string Default: ""Client Secret
Type: string Default: ""Token
Type: stringMust be at least 1
characters long
Attributes
Type: objectAdditional information for each backup, e.g. bucket name
CloudCron
Type: objectCron schedule dictating when the task should run
No Additional PropertiesMinute
Type: string Default: "00"Hour
Type: string Default: "*""00" - "23"
Dom
Type: string Default: "*""1" - "31"
Month
Type: string Default: "*""1" (January) - "12" (December)
Dow
Type: string Default: "*""1" (Monday) - "7" (Sunday)
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 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 Default: ""(Slated for removal)
Enabled
Type: boolean Default: trueCan enable/disable the task
Job
Information regarding the task's job state, e.g. progress
Locked
Type: booleanA locked task cannot run
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
)
Cache Path
Default: nullCache path. If not set, performance may degrade.
Required roles: CLOUD_BACKUP_WRITE