Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Rsync

Featured Replies

You have to configure the rsyncd.conf file in the etc directory manually.

  • 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

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

...-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.

...-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

  • 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

  • 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

 

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

 

 

 

 

 

 

  • 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

  • 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

rsync can move files with the option --remove-source-files.

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.