Skip to content
gilbertchen edited this page Nov 10, 2017 · 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

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.