rsync not syncing desktop folder
HomeRun4711
homerun4711 at googlemail.com
Thu Jun 24 07:37:25 MDT 2010
Hello!
I found a strange problem while using rsync to backup my files.
I use a script:
------------------
#!/bin/bash
SOURCEDIR="/"
TARGETDIR="root at DLINK-13F017:/mnt/HD_a2/administrator/RAIDBackup/"
LOGFILE="--log-file=/home/administrator/.rsync/rsync_dns323.log"
OPTIONS="-avz -e ssh --stats --progress --delete --delete-excluded"
EXCLUDES="--exclude-from=/home/administrator/.rsync/exclude_dns323.txt"
sudo rsync $OPTIONS $LOGFILE $EXCLUDES $SOURCEDIR $TARGETDIR 2>
/home/administrator/.rsync/errorlog_dns323.txt
--------------
Exclude-From contains:
- /dev/
- /sys/
- /proc/
- /home/administrator/.gvfs/
- /home/administrator/.rsync/rsync_dns323.log
- /home/administrator/temp/NAS/
------------
Well, everything is copied as expected I guess, exept ~/Desktop/.
The directory on the target side - the file manager says there is no
content.
I even cannot access it via console using su or sudo, I get permission
denied.
This has surely something to do with the rights, but I don´t get the clue.
~/desktop/-folder source-side:
750 drwxr-x--- administrator root
~/desktop/-folder target-side:
750 drwxr-x--- administrator administrator
I hope you can help me!
Thanks,
HomeR
More information about the rsync
mailing list