Can't figure out how to restore

Asked by Florian Brucker

I am trying to restore a single file from my backup. My backup command looks sort of like this:

    duplicity ~ file:///var/backup

I'd like to restore the file "~/docs/foobar". But if I try

    duplicity --file-to-restore docs/foobar file:///var/backup foobar_restore

I get the message

    "docs/foobar not found in archive, no files restored."

Yet, if I do a

    duplicity --list-current-files file:///var/backup

then the file "docs/foobar" is listed in there. What am I doing wrong?

I am running duplicity 0.6.13 on Ubuntu 11.04.

Thanks for any pointers!

Question information

Language:
English Edit question
Status:
Solved
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Solved by:
Florian Brucker
Solved:
Last query:
Last reply:
Revision history for this message
edso (ed.so) said :
#1

On 28.11.2011 21:30, Florian Brucker wrote:
> New question #180308 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/180308
>
> I am trying to restore a single file from my backup. My backup command looks sort of like this:
>
> duplicity ~ file:///var/backup
>
> I'd like to restore the file "~/docs/foobar". But if I try
>
> duplicity --file-to-restore docs/foobar file:///var/backup foobar_restore
>
> I get the message
>
> "docs/foobar not found in archive, no files restored."
>
> Yet, if I do a
>
> duplicity --list-current-files file:///var/backup
>
> then the file "docs/foobar" is listed in there. What am I doing wrong?
>
> I am running duplicity 0.6.13 on Ubuntu 11.04.
>
> Thanks for any pointers!
>

should work as described. please post privacy redacted versions of the full command (list, restore) + output to pastebin or the like and post the link here.

ede/duply.net

Revision history for this message
Florian Brucker (mail-florianbrucker) said :
#2

Sorry for the delay. It seems that I messed things up somehow. Upon carefully trying again everything works.

Thanks for your help!