[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] Basic Usage Question
From: |
Kenneth Loafman |
Subject: |
Re: [Duplicity-talk] Basic Usage Question |
Date: |
Wed, 26 Sep 2007 18:35:34 -0500 |
User-agent: |
Thunderbird 1.5.0.13 (X11/20070824) |
Mark Price wrote:
> Hi Ken,
>
> I'm struggling with some very basic usage syntax when trying to restore
> files. I'm running the RC1 release by the way, have yet to upgrade to RC2.
>
> How do I restore several files at the same time. i.e. pattern matching.
>
> For example after backing up /home/mprice I need to restore any files
> matching /home/mprice/Documents/save* into /home/mprice/Documents
>
> duplicity --file-to-restore Documents/savethedate*
> scp://backup/home/mprice ~mprice/Documents tells me it will overwrite
> ~mprice/Documents and fail.s
>
> duplicity --file-to-restore Documents/savethedate*
> scp://backup/home/mprice ~mprice/Documents/save* it tells me:
>
> Documents/savethedate* not found in archive, no files restored.
>
> So how do I restore Documents/save* back into /home/mprice/Documents
You need to use "--include <shell_pattern>". --file-to-restore is an
absolute path.
...Ken
signature.asc
Description: OpenPGP digital signature