Re: Restore, target syntax
"edgar.soldin--- via Duplicity-talk" <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.duplicity.general |
|---|---|
| Message-ID | <[email protected]> |
No, as i tried to explain via example if you give a file target will e created as file. give a folder it will be created as folder. there is no /into/ in this process. ..ede On 28.09.2024 00:54, Gregory Skerry via Duplicity-talk wrote: > 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] <mailto:[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 <http://duply.net> > > _______________________________________________ > Duplicity-talk mailing list > [email protected] <mailto:[email protected]> > https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk> > > > _______________________________________________ > 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