Re: [rdiff-backup-users] Excluding directories for restore

2010-02-08 Thread Dominic Raferd

Hi Dominik

Although it is not an answer to your present predicament, I would say 
that rdiff-backup is not advisable over an unstable connection. A better 
strategy is to run rdiff-backup locally (preferably to a different 
machine) and then use rsync to mirror the rdiff-backup repository to an 
offsite machine using rsync with the --link-dest option. I recently 
posted on this mailing list an example of how to do this. Problems with 
the offsite backup process are minimised and you have a primary and 
secondary backup.


Dominic

Dominik Sandjaja wrote:

Hi,

I have a setup of a server being backed up regularly over a DSL line to
my server at home.
After quite a bad crash I am in the process of restoring the data...

Thanks
Dominik



___
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


Re: [rdiff-backup-users] Excluding directories for restore

2010-02-08 Thread Dominik Sandjaja
Hi,

Am Montag, den 08.02.2010, 06:48 -0800 schrieb Adrian Klaver:
 On Sunday 07 February 2010 4:09:17 am Dominik Sandjaja wrote:
  Hi,
 
  I have a setup of a server being backed up regularly over a DSL line to
  my server at home.
  After quite a bad crash I am in the process of restoring the data. There
  are some huge directories which I am now stuck a little. For those who
  don't know DSL: Here in Germany it's usually a high download speed, e.g.
  6 Mbit/s and a slow upload speed, 300 kbit/s in my case. In addition,
  the ip is changed once every day, which results in a disconnect.
  Now I want to restore the big directories step by step. For that, I
  tried to restore like
  rdiff-backup -r 02-02-2010
  --exclude /var/customers/web1 /home/backup/var/customers
  server::/var/customers
  but the directory /var/customers/web1 gets restored anyway. An option of
  --exclude /home/backup/var/customers/web1 gives an invalid path
  specification (or something like that) error.
  Also, doing it the other way around, first restoring /var/customers/web1
  and then /var/customers does not work as the web1 subdirectory gets
  restored again (which is exactly what I'd like to prevent.
 
  Is there any way to exclude certain directories from being restored?
 
  Thanks
  Dominik
 
 --exclude '**var/customers/web1'

it really is that simple, thanks! Although I understand the meaning of
** I am a little confused why that matches and to what exactly it
expands to. But for now I am just happy. :-)

Cheers
Dominik



___
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki