rsynctask.update¶
Update Rsync Task of id.
No Additional Items
Tuple Validation
Parameter 1: id
id
Type: integerParameter 2: rsync_task_update
rsync_task_update
Type: objectNo Additional Properties
Path
Type: stringMust be at most 1023
characters long
User
Type: stringMode
Type: enum (of string)Operating mechanism for Rsync, i.e. Rsync Module mode or Rsync SSH mode.
Must be one of:
- "MODULE"
- "SSH"
Remotehost
IP address or hostname of the remote system. If username differs on the remote host, "username@remote_host" format should be used.
Remoteport
Remotemodule
Name of remote module, this attribute should be specified when mode
is set to MODULE.
Ssh Credentials
The path on the remote system.
Remotepath
Type: stringAutomatically add remote host key to user's known_hosts file.
Direction
Type: enum (of string)Specify if data should be PULLED or PUSHED from the remote system.
Must be one of:
- "PULL"
- "PUSH"
Desc
Type: stringRsyncTaskSchedule
Type: objectNo 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)
Recursive
Type: booleanTimes
Type: booleanCompress
Type: booleanReduce the size of the data to be transmitted.
Archive
Type: booleanMake rsync run recursively, preserving symlinks, permissions, modification times, group, and special files.
Delete
Type: booleanDelete files in the destination directory that do not exist in the source directory.
Quiet
Type: booleanPreserveperm
Type: booleanPreserve original file permissions.
Preserveattr
Type: booleanDelayupdates
Type: booleanExtra
Type: array of stringNo Additional Items
Each item of this array must be:
Enabled
Type: booleanValidate Rpath
Type: booleanValidate the existence of the remote path.
Ssh Keyscan
Type: booleanRsyncTaskEntry
Type: objectNo Additional Properties
Id
Type: integerPath
Type: stringMust be at most 1023
characters long
User
Type: stringMode
Type: enum (of string) Default: "MODULE"Operating mechanism for Rsync, i.e. Rsync Module mode or Rsync SSH mode.
Must be one of:
- "MODULE"
- "SSH"
Remotehost
Default: nullIP address or hostname of the remote system. If username differs on the remote host, "username@remote_host" format should be used.
Remoteport
Default: nullRemotemodule
Default: nullName of remote module, this attribute should be specified when mode
is set to MODULE.
In SSH mode, if ssh_credentials
(a keychain credential of SSH_CREDENTIALS
type) is specified then it is used to connect to the remote host. If it is not specified, then keys in user
's .ssh directory are used.
KeychainCredentialEntry
Type: objectNo Additional Properties
Id
Type: integerName
Type: stringDistinguishes this Keychain Credential from others.
Must be at least 1
characters long
Type
Type: enum (of string)Must be one of:
- "SSH_KEY_PAIR"
- "SSH_CREDENTIALS"
Attributes
SSHKeyPair
Type: objectAt least one of the two keys must be provided on creation.
No Additional PropertiesPrivate Key
Default: nullPublic Key
Default: nullCan be omitted and automatically derived from the private key.
SSHCredentials
Type: objectNo Additional Properties
Host
Type: stringPort
Type: integer Default: 22Username
Type: string Default: "root"Private Key
Type: integerKeychain Credential ID.
Remote Host Key
Type: stringCan be discovered with keychaincredential.remotesshhostkeyscan.
Connect Timeout
Type: integer Default: 10Remotepath
Type: stringAutomatically add remote host key to user's known_hosts file.
Direction
Type: enum (of string) Default: "PUSH"Specify if data should be PULLED or PUSHED from the remote system.
Must be one of:
- "PULL"
- "PUSH"
Desc
Type: string Default: ""RsyncTaskSchedule
Type: objectNo 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)
Recursive
Type: boolean Default: trueTimes
Type: boolean Default: trueCompress
Type: boolean Default: trueReduce the size of the data to be transmitted.
Archive
Type: boolean Default: falseMake rsync run recursively, preserving symlinks, permissions, modification times, group, and special files.
Delete
Type: boolean Default: falseDelete files in the destination directory that do not exist in the source directory.
Quiet
Type: boolean Default: falsePreserveperm
Type: boolean Default: falsePreserve original file permissions.
Preserveattr
Type: boolean Default: falseDelayupdates
Type: boolean Default: trueExtra
Type: array of stringNo Additional Items
Each item of this array must be:
Enabled
Type: boolean Default: trueLocked
Type: booleanJob
Required roles: SNAPSHOT_TASK_WRITE