Hello. I have the following problem.
I am trying to use rdiff-backup to backup from a Linux (Debian
lenny) machine to a CIFS mounted filesystem (which is located on a
Droboshare - http://www.drobo.com.)
# python -V
Python 2.5.2
# rdiff-backup -V
rdiff-backup 1.1.16
It works fine if I use --exclude-symbolic-links, but without this I
get the errors posted below.
Specifically:
If I try to backup a directory containing symbolic links to the same
directory, it works:
# ls –l
total 0
-rw-r--r-- 1 root root 0 2008-07-06 04:58 index.html
lrwxrwxrwx 1 root root 10 2008-07-06 05:03 test -> index.html
# rdiff-backup --no-hard-links . /drobo/MX/www
# ls -l /drobo/MX/www/
total 4
-rw-r--r-- 1 root root 0 2008-07-06 04:58 index.html
drwx------ 3 root daemon 0 2008-07-06 05:22 rdiff-backup-data
lrwxrwxrwx 1 root daemon 10 2008-07-06 05:22 test -> index.html
However, if I link to a file in another directory:
# echo "test" > ../test2
# ln -s ../test2
# ls –l
total 0
-rw-r--r-- 1 root root 0 2008-07-06 04:58 index.html
lrwxrwxrwx 1 root root 10 2008-07-06 05:03 test -> index.html
lrwxrwxrwx 1 root root 8 2008-07-06 05:27 test2 -> ../test2
# rdiff-backup --no-hard-links . /drobo/MX/www
Exception '[Errno 2] No such file or directory' raised of class
'<type 'exceptions.OSError'>':