rsync ignores "exclude=..."?

James Moe jimoe at sohnen-moe.com
Mon Oct 29 01:08:17 MDT 2012


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

Hello,
  rsync v3.0.7
  linux 2.6.37.6-0.20-desktop x86_64

  Below is a log of a backup session. I do not understand why the
"exclude=/data01/..." is being ignored.
  The session is started in a bash script. The actual text is:
- --exclude='/data01/t-drv/websites/owncloud/data/sma-admin/'
I guess rsync cleaned it up to suit itself.

rsync options [--recursive --links --dirs --stats --itemize-changes \
  --quiet --size-only \
  --exclude-from=/home/sma-user3x/bin/rsync-exclude.txt --delete \
  --exclude=/data01/t-drv/websites/owncloud/data/sma-admin --no-times \
  --omit-dir-times]

2012/10/28 01:00:01 [31863] building file list
2012/10/28 01:00:30 [31863] rsync: opendir \
  "/data01/t-drv/websites/owncloud/data/sma-admin" failed: Permission
denied (13)

- -- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCOK2EACgkQzTcr8Prq0ZPr8ACgnkf4SDEYqu/YOvCsXFb7stJZ
OY4AnRfoMc4LvDGvofbSMMEr6g++Bjsd
=Afi1
-----END PGP SIGNATURE-----


More information about the rsync mailing list