rdiff-backup-users
[Top][All Lists]
Advanced

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

Re: [rdiff-backup-users] Newbie question: Restore target already exists


From: Sherrard Burton
Subject: Re: [rdiff-backup-users] Newbie question: Restore target already exists
Date: 04 Mar 2003 15:32:38 -0500

the --force option doesn't seem to work for me, even when trying to
restore a single file.

% mkdir /tmp/restore

% rdiff-backup -r 1D /backup/history.dat /tmp/restore/history.dat

% ls -l /tmp/restore/
total 21600
-rw-r--r--    1 sburton  staff    22088632 Mar  3 15:10 history.dat

% rdiff-backup -r 2D /backup/history.dat /tmp/restore/history.dat
Fatal Error: Restore target /tmp/restore/history.dat already exists, and
will not be overwritten.

% rdiff-backup -r 2D --force /backup/history.dat
/tmp/restore/history.dat
Fatal Error: Restore target /tmp/restore/history.dat already exists, and
will not be overwritten.

% ls -l /tmp/restore/ 
total 21600
-rw-r--r--    1 sburton  web      22088632 Mar  3 15:10 history.dat

am i missing something?


> then something like:
> 
>   SB> rdiff-backup -r 2D --include '/tmp/restore/u/jdoe/Maildir/new/'
>   SB> --exclude '**' /u-backup/ /tmp/restore/
> 
> but with force, and then:
> 
> cp /tmp/restore/u/jdoe/Maildir/new/* /u/jdoe/Maildir/new/
> 
> again, etc.
> 






reply via email to

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