rsync + cifs problem
Christian Pinedo
christian.pinedo at grupoversia.com
Thu Nov 6 10:08:35 GMT 2008
hello,
I'm trying to use a remote SMB/CIFS share to backup a local directory
tree. I use rsync "version 3.0.4 protocol version 30" and mount.cifs
"1.10" with a kernel 2.6.18. The directory I'm trying to backup is quite
big and has a lot of files inside.
[root at linux dir]# du -hs .
50G .
[root at linux dir]# find . -type f | wc -l
41929
I get the following error when I try to use rsync:
[root at linux /]# mount -t cifs //SERVER/backup /media/backup -o
credentials=/root/.credentials,rw
[root at linux /]# /usr/local/bin/rsync -aq --whole-file --force --delete
--backup --backup-dir=/media/backup/incremental/$(date +%Y-%m-%d) /dir
/media/backup/current
rsync: mkstemp "/media/backup/current/dir/files/.file.mp3.rqE1s8"
failed: No such file or directory (2)
rsync: mkstemp "/media/backup/current/dir/files/.file.mp3.NxYdH6"
failed: No such file or directory (2)
rsync: mkstemp "/media/backup/dir/files/.file.mp3.jkbgXp" failed: No
such file or directory (2)
Can you give me any advice to solve it? Thanks,
--
Christian Pinedo Zamalloa
More information about the rsync
mailing list