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@linux dir]# du -hs .
50G .
[root@linux dir]# find . -type f | wc -l
41929

I get the following error when I try to use rsync:

[root@linux /]# mount -t cifs //SERVER/backup /media/backup -o
credentials=/root/.credentials,rw

[root@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

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html