Restore full backup

Asked by A.M.

Hi
How can I restore an entire backup? I made a backup of / and I'd like to restore that by overriding all existing files and adding the others. How can I do that?

duplicity file:///path/to/backup/ /

This is what I want, but it cannot override the files :/

Kind Regards

Question information

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

On 14.05.2014 22:46, A.M. wrote:
> New question #248689 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/248689
>
> Hi
> How can I restore an entire backup? I made a backup of / and I'd like to restore that by overriding all existing files and adding the others. How can I do that?
>

manpage explains the general syntax
http://duplicity.nongnu.org/duplicity.1.html

but yours is probably correct as duplicity will never overwrite on restore for security reasons. you can however restore to a temporary location and replace from there.

..ede/duply.net

Revision history for this message
A.M. (a25) said :
#2

mknod: /tmp/temp/dev/zfs: Operation not permitted
Error 'Error running ['mknod', '/tmp/temp/dev/zfs', 'c', '0', '138']' processing dev/zfs

I get this error quite a lot with different files in /dev/ . Then it aborts :/ Any ideas why?

Revision history for this message
edso (ed.so) said :
#3

On 15.05.2014 12:21, A.M. wrote:
> Question #248689 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/248689
>
> A.M. posted a new comment:
> mknod: /tmp/temp/dev/zfs: Operation not permitted
> Error 'Error running ['mknod', '/tmp/temp/dev/zfs', 'c', '0', '138']' processing dev/zfs
>
>
> I get this error quite a lot with different files in /dev/ . Then it aborts :/ Any ideas why?
>

yes, you forgot to exclude /dev , probably /proc as well ..these are unix system folders with "special" files. no use in backing them up. search the net if you want to find out why it'd be a bad idea idea to try to back them up.

..ede/duply.net

Can you help with this problem?

Provide an answer of your own, or ask A.M. for more information if necessary.

To post a message you must log in.