cloudsync.sync_onetime

Run cloud sync task without creating it.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: cloud_sync_sync_onetime

cloud_sync_sync_onetime

Type: object
No Additional Properties

Description

Type: string Default: ""

The name of the task to display in the UI

Path

Type: string

The local path to back up beginning with /mnt or /dev/zvol

Credentials

Type: integer

ID of the cloud credential

Attributes

Type: object

Additional information for each backup, e.g. bucket name

CloudCron

Type: object

Cron schedule dictating when the task should run

No Additional Properties

Minute

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: false

Whether to create a temporary snapshot of the dataset before every backup

Include

Type: array of string

Paths to pass to restic backup --include

No Additional Items
Each item of this array must be:
Type: string

Must be at least 1 characters long

Exclude

Type: array of string

Paths to pass to restic backup --exclude

No Additional Items
Each item of this array must be:
Type: string

Must be at least 1 characters long

Args

Type: string Default: ""

(Slated for removal)

Enabled

Type: boolean Default: true

Can enable/disable the task

Bwlimit

Type: array of object
No Additional Items
Each item of this array must be:

CloudSyncBwlimit

Type: object
No Additional Properties

Time

Type: string

Bandwidth


Type: integer

Value must be strictly greater than 0

Type: null

Transfers

Default: null

Type: integer

Value must be strictly greater than 0

Type: null

Direction

Type: enum (of string)
Must be one of:
  • "PUSH"
  • "PULL"

Transfer Mode

Type: enum (of string)
Must be one of:
  • "SYNC"
  • "COPY"
  • "MOVE"

Encryption

Type: boolean Default: false

Filename Encryption

Type: boolean Default: false

Encryption Password

Type: string Default: ""

Encryption Salt

Type: string Default: ""

Create Empty Src Dirs

Type: boolean Default: false
Parameter 2: cloud_sync_sync_onetime_options

cloud_sync_sync_onetime_options

Type: object
No Additional Properties

Dry Run

Type: boolean Default: false

Result

Type: null


Required roles: CLOUD_SYNC_WRITE