duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Restore question


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] Restore question
Date: Mon, 27 Oct 2008 19:27:18 -0500
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

Dylan Martin wrote:
> Hi, I've recently started using duplicity and today I'm trying to do
> my first restore.  I'm attempting to restore an entire machine.  I'm
> accustomed to using tar.  While not technically correct, the
> simplified story is I've booted to a CD, partitioned out my disk,
> formatted the filesystems and mounted them all and now I'm trying to
> restore.  This means there are existing directories within the
> filesystem, but duplicity gets angry about overwriting existing files.
> 
> To clarify, I have a destination dir /mnt/machine.  Within that are
> mount points for /mnt/machine/usr, /mnt/machine/var etc...  If I try
> to restore to /mnt/machine, duplicity exits and says it won't
> overwrite an existing file.
> 
> Here's the duplicity command I'm running (minus --scp-command,
> --sftp-command, actual host names etc..)
> I can get a collection status, so I know my sftp/scp stuff is working.
> 
> duplicity -v9 --no-encryption scp://address@hidden/duplicity /mnt/foo
> 
> How does one restore an entire machine with multiple mount points?

Add the --force option to allow duplicity to overwrite existing files
and directories.

...Ken


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]