repository sync-to sftp
$ kopia repository sync-to sftp \
--path=... \
--host=... \
--username=...
Synchronize repository data to another repository in an SFTP storage
Flag | Short | Default | Help |
---|---|---|---|
--[no-]delete |
false |
Whether to delete blobs present in destination but not source. | |
--[no-]dry-run |
-n |
false |
Do not perform copying. |
--[no-]embed-credentials |
false |
Embed key and known_hosts in Kopia configuration | |
--[no-]external |
false |
Launch external passwordless SSH command | |
--[no-]flat |
false |
Use flat directory structure | |
--host |
SFTP/SSH server hostname | ||
--key-data |
private key data | ||
--keyfile |
path to private key file for SFTP/SSH server | ||
--known-hosts |
path to known_hosts file | ||
--known-hosts-data |
known_hosts file entries | ||
--max-download-speed |
Limit the download speed. | ||
--max-upload-speed |
Limit the upload speed. | ||
--[no-]must-exist |
false |
Fail if destination does not have repository format blob. | |
--parallel |
1 |
Copy parallelism. | |
--path |
Path to the repository in the SFTP/SSH server | ||
--port |
22 |
SFTP/SSH server port | |
--sftp-password |
SFTP/SSH server password | ||
--ssh-args |
Arguments to external SSH command | ||
--ssh-command |
ssh |
SSH command | |
--[no-]times |
false |
Synchronize blob times if supported. | |
--[no-]update |
true |
Whether to update blobs present in destination and source if the source is newer. | |
--username |
SFTP/SSH server username | ||
--list-parallelism |
[ADV] Set list parallelism |