Re: Restore, target syntax
Gregory Skerry via Duplicity-talk <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.duplicity.general |
|---|---|
| Message-ID | <CANDrZzjnP5hxz42bLSG+x2y675UGjJi5VDe=_FoomqdoPT9GrA@mail.gmail.com> |
Hello, It will restore the file *into* the target, if the target is a directory? Thanks. On Fri, Sep 27, 2024 at 12:21 PM edgar.soldin--- via Duplicity-talk < [email protected]> wrote: > 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 > _______________________________________________ Duplicity-talk mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/duplicity-talk