first time use of rsync: few errors are coming; any advice how to solve it is welcome
hello,
since I installed a central house server with printer/storage during christmas ("raspberry pi" with raspbian), I am making the first backup with the raspberry and a 500GB drive attached to it. I use the command: Quote:
Few error messages are coming and it seems this must be solved. For the reason this is the first time in my life I am using rsync (I used "mc" for file copy/backup before), I kindly ask here for few answer in order for me to solve quicker the issues. Start of the messages of rsync Code:
sending incremental file list the rsync seems not to create any new directory (ok for me): Code:
rsync: recv_generator: mkdir "/Arbeitsfläche" (in asusfamily) failed: Permission denied (13) A time stamps can not be created. This is probably an issue for the comparison of new/old files. How to solve this? Code:
Bilder/ Set permissions not possible.. how to solve this? this is probably disturbing the update of files. Code:
Bilder/Fotos_Family/2008/CiaraChristening/ Code:
sent 87512 bytes received 280 bytes 35116.80 bytes/sec |
Is your server trying to store the files on any type of FAT or NTFS filesystem? Those filesystems do not support Unix-style permissions and timestamps.
|
did you do those coomand as root? (permisions)
and consider using backintime - it uses rsync but it has a nice GUI so smaller chance of making mistake. And for the future try btrfs (it makes snapshots by default), on my suse 13.1 I can easily manage it via snapper. Try to look at rsyncd.conf
|
Quote:
|
Hello,
I am still working on rsync (I will try backintime later). There a differences between a dry run and a run. Why? (option "n"). The first one dont show errors. The second one yes. rsync -nvurz * rsync://192.168.178.50/asusfamily Quote:
Quote:
======================== use chroot = true transfer logging = true log file = /var/log/rsyncd.log log format = %h %o %f %l %b [asusfamily] comment = central storage asus family path = /mnt/externalstorage/asusk51ae/family/ read only = no list = yes uid = nobody gid = nogroup hosts allow = 192.168.178.25 |
Those "Permission denied" errors are telling you that the receiving rsyncd process does not have write permission in /mnt/externalstorage/asusk51ae/family/ . If you are not running rsyncd with root privileges, then it needs to run under a UID that has write permission in that directory.
|
Quote:
rsyncd seems to work with root. So, I changed the rights. I made... sudo find /mnt/externalstorage/ -type d -exec chmod 777 {} + sudo find /mnt/externalstorage/ -type f -exec chmod 777 {} + rsync -qurz * rsync://192.168.178.50/asusfamily Everything was transfered. This is certainly NOT the best way of doing it (open to anybody) but it works and my storage is normaly offline. |
All times are GMT -5. The time now is 04:48 AM. |