Hello!<br><br>I've been trying to do backups with rsync. I want to do the backup into a NAS (LG Network Storage N2B1/N2R1). I start mounting the NAS in my Ubuntu Server 10.04 via cifs, and the /home from my Ubuntu's machines via nfs. This script executes in the server's crontab, with root permissions.<br>
<br>My rsync script is like:<br><br> rsync $OPTIONS $QUE $DONDE/$INCREMENTDIR<br><br>where:<br><br> OPTIONS="--force --ignore-errors --delete --delete-excluded --exclude-from=$EXCLUDES --backup --backup-dir=$DONDE -vrbpoglDLH"<br>
EXCLUDES=/etc/backup.conf (*.iso .*)<br> QUE=/home/user/mnt/client/<br> DONDE=/home/user/mnt/NAS/<br> INCREMENTDIR=`date +%Y-%m`<br><br>I'm having troubles with the permissions of some files.<br><br> rsync: send_files failed to open "/home/txerif/mnt/lexinder-fg/Escritorio/rsyncprueba/Escritorio/LGNASAppLinux": <u>Permission denied (13)</u> <br>
...<br> rsync: opendir "/home/txerif/mnt/lexinder-fg/Escritorio/rsyncprueba/Escritorio/rsyncprueba/Descargas" failed: <u>Permission denied (13)</u><br> ...<br> rsync error: some files/attrs were not transferred (see previous errors) <u>(code 23)</u> at main.c(1060) [sender=3.0.7]<br>
<br>I've tried everything that I found in Google, like changing the name of the troubled files, giving them more permissions, adding/removing some rsync options...<br><br>We would be very thankful if somebody could throw some light at this.<br>
<br>Thank you in advance.<br>