CLICommand referencebackupdestination

backup destination

Commands, arguments, and options for synq backup destination.

See the workflow guide for examples. Global flags such as --json go before the command; see global options.

synq backup destination

Backup destinations (storage targets)

synq backup destination [options] [command]
SubcommandPurpose
listList backup destinations
create [options]Create a backup destination
preflight <destinationId>Verify a destination (write + read + delete a probe object)
get <id>Show a destination without revealing its credentials
usage <id>Show policies and stored backup usage for a destination
update <id> <file>Update selected destination fields; omitted credentials stay unchanged
remove|rm <id>Remove a destination that has no active policies
preflight-draft <file>Test destination settings before saving them

synq backup destination create

Create a backup destination

synq backup destination create [options]
OptionMeaning
--name <name>Display name
--kind <kind>s3_compatible | sftp | synq_server | local | ftp | dropbox | google_drive
--endpoint <url>Endpoint URL / absolute path (local)
--region <region>S3 region
--bucket <bucket>S3 bucket
--path-prefix <prefix>Key/path prefix
--ssh-host <host>SFTP host
--ssh-port <port>SFTP port
--ssh-user <user>SFTP user
--server <id>Server ID (synq_server kind)
--access-key-id <id>S3 access key ID
--secret-access-key <key>S3 secret access key
--sftp-password <pw>SFTP password
--sftp-private-key <key>SFTP private key (raw)
--sftp-private-key-file <path>Read the SFTP private key from a file
--sftp-key-passphrase <pw>SFTP private key passphrase
--ftp-host <host>FTP host
--ftp-port <port>FTP port (default 21)
--ftp-user <user>FTP user
--ftp-password <pw>FTP password
--ftp-tls <mode>FTP encryption: explicit (FTPS) | none
--ftp-allow-self-signedAccept a self-signed FTPS certificate
--oauth-client-id <id>Dropbox app key or Google OAuth client ID
--oauth-client-secret <secret>Dropbox app secret or Google OAuth client secret
--defaultMark as the default destination

synq backup destination get

Show a destination without revealing its credentials

synq backup destination get [options] <id>
ArgumentMeaning
idDestination ID

synq backup destination list

List backup destinations

synq backup destination list [options]

synq backup destination preflight

Verify a destination (write + read + delete a probe object)

synq backup destination preflight [options] <destinationId>
ArgumentMeaning
destinationIdDestination ID

synq backup destination preflight-draft

Test destination settings before saving them

synq backup destination preflight-draft [options] <file>
ArgumentMeaning
fileJSON destination input; include id to reuse saved credentials

synq backup destination remove

Remove a destination that has no active policies

synq backup destination remove|rm [options] <id>
ArgumentMeaning
idDestination ID

synq backup destination update

Update selected destination fields; omitted credentials stay unchanged

synq backup destination update [options] <id> <file>
ArgumentMeaning
idDestination ID
fileJSON destination patch

synq backup destination usage

Show policies and stored backup usage for a destination

synq backup destination usage [options] <id>
ArgumentMeaning
idDestination ID

On this page