On Mon, 13 Aug 2018 14:24:38 +0100, Chris Elvidge wrote:
> On 12/08/2018 15:34, Martin Gregorie wrote:
>>
>> I use a different set of options, because we have slightly different
>> requirements: I don't want rsync to stop except for serious errors. I'm
>> running with these options:
>>
>> -avzE --delete --delete-excluded --ignore-errors --log-file=$log
>>
>> plus several excludes so it doesn't back up stuff pseudo-filestore
>> structures like /run and /proc
>>
>>
>>
> -x will stop it crossing filesystem boundaries, thus excluding /run
> /proc /dev /sys (and others) automatically.
rsync is run from a common script that is used to back up several systems
which have differing partition schemes (two laptops, one PC running
Fedora and a RaspberryPi running Raspbian), so the source filesystem is
referenced as "$hostname:/". I think this excludes the possibility of
using the -x option.
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|