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