exclude being ignored

Kevin Korb kmk at sanitarium.net
Thu Nov 19 00:22:12 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Note the lack of a space here: --exclude '/tmp'--exclude

Also, just use / for the source instead of /.

Also, don't use -z on a local copy.

On 11/18/2015 06:19 PM, Bob Holtzman wrote:
> Running debian wheezy w/ rsync 3.0.9-4. The command in question is
> 
> 
> rsync -vahHz --delete --exclude '/proc' --exclude '*.iso'
> --exclude '/home/holtzm/mail/backup' --exclude '/sys ' --exclude
> '/tmp'--exclude '/media' /.
> /media/cf0a98ed-3c11-4107-b61e-f5139d024396/Wheezy-laptop
> 
> notice the --exclude '/media' notation. This setup has been working
> for me for several years without a problem. Suddenly --exclude
> '/media' is being ignored and I find it backing up the backup,
> creating an endless loop and a tremendous file before I catch it
> and stop the process.
> 
> Not being a coder, I'm at a loss as to how to begin attacking this 
> problem.
> 
> Any pointers appreciated.
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlZNFjMACgkQVKC1jlbQAQf8QgCeKl5k8n+s2L6iSeiL7LEjqA3i
kWgAnAvB1/xNpHgBlDNXW4azi1ccj3ft
=sJKf
-----END PGP SIGNATURE-----



More information about the rsync mailing list