-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
On 9-Sep-06, at 9:32 AM, Mario 'BitKoenig' Holbe wrote:
On Fri, Sep 01, 2006 at 06:53:30PM +0200, Paul Slootman wrote:
Because I couldn't reproduce it, and I didn't want to close a bug
report
I was able to reproduce this bug with the latest rsync and rsnapshot
from stable
# rsync --version
rsync version 2.6.4 protocol version 29
# rsnapshot
rsnapshot 1.2.1
First rsnapshot run:
# rsnapshot daily
# ls -lR daily.0/test/test/
daily.0/test/test/:
total 0
drwxr-xr-x 3 root root 14 2006-09-09 11:09 src
daily.0/test/test/src:
total 0
drwxr-xr-x 2 root root 30 2006-09-09 11:15 1
daily.0/test/test/src/1:
total 0
- -rw-r--r-- 1 root root 0 2006-09-09 11:15 a
- -rw-r--r-- 1 root root 0 2006-09-09 11:09 b
- -rw-r--r-- 1 root root 0 2006-09-09 11:09 c
Remove file 'a' from the source directory:
# rm /test/src/1/a
Second rsnapshot run:
# rsnapshot daily
# ls -lR daily.0/test/test/
daily.0/test/test/:
total 0
drwxr-xr-x 3 root root 14 2006-09-09 11:09 src
daily.0/test/test/src:
total 0
drwxr-xr-x 2 root root 30 2006-09-09 11:15 1
daily.0/test/test/src/1:
total 0
- -rw-r--r-- 2 root root 0 2006-09-09 11:15 a
- -rw-r--r-- 2 root root 0 2006-09-09 11:09 b
- -rw-r--r-- 2 root root 0 2006-09-09 11:09 c
Rsnapshot used "/usr/bin/rsync -a --delete --numeric-ids --relative --
delete-excluded /test/ /home/backup/test/daily.0/test/"
I meant to say I never encountered it, and there was a pretty simple
workaround (drop the trailing slash). Your report that that
doesn't help
Well, this is not always that simple :)
A trailing slashes patch was introduced in rsnapshot 1.2.1-1.1 and
later reviewed in 1.2.1-2, both went into unstable. This patch was to
fix an issue with latest versions of GNU cp in testing/unstable. Now
it seems you discovered a similar bug with the stable version of rsync.
Please try installing the latest rsnapshot 1.2.9-1 from testing. Most
of the code was reviewed in 1.2.9 and trailing slashes were
completely removed.
Thanks
Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFFAuRy1jAZg9vxR6wRAtFtAJ4oWxSDyQqvBeB0HNi1G8G3YwIF6gCggnOp
4wpuImr7kZFVqUNKvsPPi/w=
=6NIA
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]