-
Notifications
You must be signed in to change notification settings - Fork 340
copy
gilbertchen edited this page Sep 27, 2020
·
7 revisions
SYNOPSIS:
duplicacy copy - Copy snapshots between compatible storages
USAGE:
duplicacy copy [command options]
OPTIONS:
-id <snapshot id> copy snapshots with the specified id instead of all snapshot ids
-r <revision> [+] copy snapshots with the specified revisions
-from <storage name> copy snapshots from the specified storage
-to <storage name> copy snapshots to the specified storage
-download-limit-rate <kB/s> the maximum download rate (in kilobytes/sec)
-upload-limit-rate <kB/s> the maximum upload rate (in kilobytes/sec)
-threads <n> number of uploading threads
-download-threads <n> number of downloading threads
-key <private key> the RSA private key to decrypt file chunks
-key-passphrase <passphrase> the passphrase to decrypt the RSA private key
The copy command copies snapshots from one storage to another storage. They must be copy-compatible, i.e., some configuration parameters must be the same. One storage must be initialized with the -copy
option provided by the add command.
Instead of copying all snapshots, you can specify a set of snapshots to copy by giving the -r
options. The copy command preserves the revision numbers, so if a revision number already exists on the destination storage the command will fail.
If no -from
option is given, the snapshots from the default storage will be copied. The -to
option specified the destination storage and is required.
The -key
and -key-passphrase
options are needed if the source storage is encrypted by an RSA key.