Re: Restore, target syntax

"edgar.soldin--- via Duplicity-talk" <[email protected]>
Newsgroups gmane.comp.sysutils.backup.duplicity.general
Message-ID <[email protected]>
hey Gregory,

On 27.09.2024 14:34, Gregory Skerry via Duplicity-talk wrote:
> Hello,
> Does restore take a directory or a file path as the target when using the --file-to-restore flag?

`--file-to-restore` was renamed to `--path-to restore` in recent versions of duplicity. regardless it accepts file or folder path values and will restore that as the restore target.

e.g.

# a folder
duplicity restore --path-to-restore folder/folder file:///tmp/dupbkp/ /tmp/restore/folder
# a file
duplicity restore --path-to-restore folder/folder/file file:///tmp/dupbkp/ /tmp/restore/file

sunny regards ..ede/duply.net

_______________________________________________
Duplicity-talk mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.