[Discuss] How do you backup "/" with rsync?
John Blomfield
jabfield at shaw.ca
Tue Nov 13 16:41:36 PST 2007
Patrick wrote:
> On Sun, 11 Nov 2007 19:01:12 -0800
> "John Blomfield" wrote:
>
> [...]
>
>
>> Hi Again,
>> Sorry to disagree but I have tried --exclude=/home and --exclude=/home/
>> and neither has any effect of the coping! This is why Alan in the
>> original thread had a problem. The syntax must be --exclude=home/***
>> (note no leading / ) see the rsync man page.
>>
>
> Well, the more I've read of rsync's syntax, the less I think he
> can block the root-level /dev without also blocking things
> like /home/irwin/dev .
>
> No offense, but at this point I wonder if we're trying to pound
> nails with a screwdriver.
>
>
Good point! But if you use --exclude=dev/*** it may only exclude /dev
since to exclude /home/irwin/dev you would perhaps use
--exclude=home/irwin/dev/***??? Haven't tried this!
John
>
>> John Blomfield
>>
>
> Patrick.
>
>
More information about the Discuss
mailing list