July 1, 201313 yr Author You have to configure the rsyncd.conf file in the etc directory manually. this line? [mnt] path = /mnt comment = /mnt files read only = FALSE
July 1, 201313 yr make a new section called New as per your first post. Fill in the definitions of where you want it to go. or you could access the path as rsync rsync://serveraddress/mnt/disk1/New or something like that. When you change or add the section, make sure you copy from /etc/rsyncd.conf to /boot/local/etc/rsyncd.conf otherwise you will loose your changes after you reboot. If you update it on your boot(flash) folder, then copy in other direction. If you can do this on the local host from the command line, rsync is working. rsync rsync://127.0.0.1/mnt
July 1, 201313 yr ...-bash: /boot/local/etc/rc.d/rc.rsyncd: /bin/sh^M: bad interpreter: No such file...That ^M make me think you edited with a windows editor like Notepad instead of Notepad2 or Notepad++ with linux line endings selected. But I could easily be wrong not linux or bash script guy so back to lurking.
July 1, 201313 yr ...-bash: /boot/local/etc/rc.d/rc.rsyncd: /bin/sh^M: bad interpreter: No such file...That ^M make me think you edited with a windows editor like Notepad instead of Notepad2 or Notepad++ with linux line endings selected. But I could easily be wrong not linux or bash script guy so back to lurking. This resolves that issue. fromdos < /boot/local/etc/rc.d/rc.rsyncd > /tmp/rc.rsyncd mv /tmp/rc.rsyncd /boot/local/etc/rc.d/rc.rsyncd
July 1, 201313 yr Author make a new section called New as per your first post. Fill in the definitions of where you want it to go. or you could access the path as rsync rsync://serveraddress/mnt/disk1/New or something like that. When you change or add the section, make sure you copy from /etc/rsyncd.conf to /boot/local/etc/rsyncd.conf otherwise you will loose your changes after you reboot. If you update it on your boot(flash) folder, then copy in other direction. If you can do this on the local host from the command line, rsync is working. rsync rsync://127.0.0.1/mnt what if I want whole unraid drive instead of disk... mnt/disk1/new
July 1, 201313 yr Author i'm starting to annoy my self now! root@Tower:~# rsync rsync://127.0.0.1/mnt @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at main.c(1506) [Rec eiver=3.0.7] root@Tower:~# If I don't put in /mnt I get root@Tower:~# rsync rsync://127.0.0.1 mnt /mnt files
July 2, 201313 yr You need to read more on rsync. There are plenty of tutorials on the net. Point is, if you make a mistake, you may miss important files or overwrite something you do not expect to overwrite. According to your first post it was /New. You'll need to define your goal clearly so I and/or others can provide accurate advice. This is what I get with rsync on the same machine as the server. It's just an example of running it on the local unRAID server to show that it's working. it doesn't do any copying, just a directory listing. root@unRAID:~# rsync rsync://127.0.0.1/mnt/ drwxr-xr-x 0 2013/04/20 08:13:02 . drwxrwxrwx 400 2013/07/01 13:32:35 disk1 drwxrwxrwx 328 2013/03/29 14:20:13 disk2 drwxrwxrwx 104 2013/03/30 04:15:16 disk3 drwxrwxrwx 400 2013/07/01 13:32:35 user root@unRAID:~# rsync rsync://localhost/mnt/ drwxr-xr-x 0 2013/04/20 08:13:02 . drwxrwxrwx 400 2013/07/01 13:32:35 disk1 drwxrwxrwx 328 2013/03/29 14:20:13 disk2 drwxrwxrwx 104 2013/03/30 04:15:16 disk3 drwxrwxrwx 400 2013/07/01 13:32:35 user
July 2, 201313 yr Author You need to read more on rsync. There are plenty of tutorials on the net. Point is, if you make a mistake, you may miss important files or overwrite something you do not expect to overwrite. According to your first post it was /New. You'll need to define your goal clearly so I and/or others can provide accurate advice. This is what I get with rsync on the same machine as the server. It's just an example of running it on the local unRAID server to show that it's working. it doesn't do any copying, just a directory listing. root@unRAID:~# rsync rsync://127.0.0.1/mnt/ drwxr-xr-x 0 2013/04/20 08:13:02 . drwxrwxrwx 400 2013/07/01 13:32:35 disk1 drwxrwxrwx 328 2013/03/29 14:20:13 disk2 drwxrwxrwx 104 2013/03/30 04:15:16 disk3 drwxrwxrwx 400 2013/07/01 13:32:35 user root@unRAID:~# rsync rsync://localhost/mnt/ drwxr-xr-x 0 2013/04/20 08:13:02 . drwxrwxrwx 400 2013/07/01 13:32:35 disk1 drwxrwxrwx 328 2013/03/29 14:20:13 disk2 drwxrwxrwx 104 2013/03/30 04:15:16 disk3 drwxrwxrwx 400 2013/07/01 13:32:35 user What I would like to do is send files to disk5/New
July 2, 201313 yr Author I don't know why this is so hard.. is there anything else I can use.. nas to nas transfer? Rsync would work.. but at the same time I don't need to keep a local copy.. just need to transfer
July 3, 201313 yr Try following this post http://lime-technology.com/forum/index.php?topic=14153.0 I used that when I moved files from a Qnap device to unRAID. Peter
July 3, 201313 yr Author Try following this post http://lime-technology.com/forum/index.php?topic=14153.0 I used that when I moved files from a Qnap device to unRAID. Peter Will give it a shot after work thanks
July 15, 201312 yr Is this fixed? Just in case ... If you are having so many issues with rsync, did you consider using BTsync? That works very well for me. Installation instruction from Automatic from this post work well for me: http://lime-technology.com/forum/index.php?topic=27153.msg238370#msg238370 But I think its also available via unMenu by now.
Archived
This topic is now archived and is closed to further replies.