You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Allow standard copy in addition to the "special case"
resticprofile implements a "special case" for the copy command, which
does not use the "from-"-prefix and reverses the copy direction. With this
change the standard direction is used when the "from" prefix is explicitly
used.
* Use `from-repository` instead of `from-repository`
This is consistent with the `init` section.
Initializebool`mapstructure:"initialize" description:"Initialize the secondary repository if missing"`
351
351
InitializeCopyChunkerParams maybe.Bool`mapstructure:"initialize-copy-chunker-params" default:"true" description:"Copy chunker parameters when initializing the secondary repository"`
352
-
RepositoryConfidentialValue`mapstructure:"repository" description:"Destination repository to copy snapshots to"`
353
-
RepositoryFilestring`mapstructure:"repository-file" description:"File from which to read the destination repository location to copy snapshots to"`
354
-
PasswordFilestring`mapstructure:"password-file" description:"File to read the destination repository password from"`
355
-
PasswordCommandstring`mapstructure:"password-command" description:"Shell command to obtain the destination repository password from"`
356
-
KeyHintstring`mapstructure:"key-hint" description:"Key ID of key to try decrypting the destination repository first"`
352
+
FromRepositoryConfidentialValue`mapstructure:"from-repository" argument:"from-repo" description:"Source repository to copy snapshots from"`
353
+
FromRepositoryFilestring`mapstructure:"from-repository-file" argument:"from-repository-file" description:"File from which to read the source repository location to copy snapshots from"`
354
+
FromPasswordFilestring`mapstructure:"from-password-file" argument:"from-password-file" description:"File to read the source repository password from"`
355
+
FromPasswordCommandstring`mapstructure:"from-password-command" argument:"from-password-command" description:"Shell command to obtain the source repository password from"`
356
+
FromKeyHintstring`mapstructure:"from-key-hint" argument:"from-key-hint" description:"Key ID of key to try decrypting the source repository first"`
357
357
Snapshots []string`mapstructure:"snapshot" description:"Snapshot IDs to copy (if empty, all snapshots are copied)"`
358
+
ToRepositoryConfidentialValue`mapstructure:"repository" description:"Destination repository to copy snapshots to"`
359
+
ToRepositoryFilestring`mapstructure:"repository-file" description:"File from which to read the destination repository location to copy snapshots to"`
360
+
ToPasswordFilestring`mapstructure:"password-file" description:"File to read the destination repository password from"`
361
+
ToPasswordCommandstring`mapstructure:"password-command" description:"Shell command to obtain the destination repository password from"`
362
+
ToKeyHintstring`mapstructure:"key-hint" description:"Key ID of key to try decrypting the destination repository first"`
0 commit comments