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.

Software to transfer files

Featured Replies

Since i'm moving out i'm giving my parents my old server. I'm preclearing the new server right now but after that i'm wondering how to get the files that are on the other server. Is there special software available to have a 1 on 1 copy of a Unraid server?

Since i'm moving out i'm giving my parents my old server. I'm preclearing the new server right now but after that i'm wondering how to get the files that are on the other server. Is there special software available to have a 1 on 1 copy of a Unraid server?

Easiest and possibly one of the fastest is "rsync" and it is already on the unRAID server.

 

On your new server you need to create a configuration file for it.  (I attached it to this post... Download it and move it to your config folder on the flash drive )

 

I use this file on my newer server (tower2)

cat /boot/config/rsyncd.conf

uid             = root

gid             = root

use chroot      = no

max connections = 4

pid file        = /var/run/rsyncd.pid

timeout         = 600

log file        = /var/log/rsyncd.log

 

[mnt]

   path = /mnt

   comment = /mnt files

   read only = FALSE

 

I start the daemon process on the new server running with this command:

rsync  --daemon  --config=/boot/config/rsyncd.conf

 

It allows me to write to anything under  /mnt

 

On the server I'm writing from (the old server with the files) I then use commands like this to write to the second server (tower2):

cd /mnt

rsync  -avrH  user/Pictures  tower2::mnt/user/

rsync  -avrH  user/Movies  tower2::mnt/user/

 

These copy my Movies and Pictures user-shares from the one server to the other.

 

Your needs will be different, but this might give you a few ideas.

 

I did it one user-share at a time.  You can do the same or possibly use just one command and do it all at once after changing directory to /mnt like this:

 

cd /mnt

rsync  -avrH user/  tower2::mnt/

 

It will take a while for large amounts of data.  The transferred files are verified when transferred by the rsync protocol.

If you run it a second time it will not transfer files already transferred.   Makes it very nice if you happen to have a power failure and the transfer is interrupted.

 

Joe L.

rsyncd.conf

  • Author

Since i'm moving out i'm giving my parents my old server. I'm preclearing the new server right now but after that i'm wondering how to get the files that are on the other server. Is there special software available to have a 1 on 1 copy of a Unraid server?

Easiest and possibly one of the fastest is "rsync" and it is already on the unRAID server.

 

On your new server you need to create a configuration file for it.  (I attached it to this post... Download it and move it to your config folder on the flash drive )

 

I use this file on my newer server (tower2)

cat /boot/config/rsyncd.conf

uid             = root

gid             = root

use chroot      = no

max connections = 4

pid file        = /var/run/rsyncd.pid

timeout         = 600

log file        = /var/log/rsyncd.log

 

[mnt]

   path = /mnt

   comment = /mnt files

   read only = FALSE

 

I start the daemon process on the new server running with this command:

rsync  --daemon  --config=/boot/config/rsyncd.conf

 

It allows me to write to anything under  /mnt

 

On the server I'm writing from (the old server with the files) I then use commands like this to write to the second server (tower2):

cd /mnt

rsync  -avrH  user/Pictures  tower2::mnt/user/

rsync  -avrH  user/Movies  tower2::mnt/user/

 

These copy my Movies and Pictures user-shares from the one server to the other.

 

Your needs will be different, but this might give you a few ideas.

 

I did it one user-share at a time.  You can do the same or possibly use just one command and do it all at once after changing directory to /mnt like this:

 

cd /mnt

rsync  -avrH user/  tower2::mnt/

 

It will take a while for large amounts of data.  The transferred files are verified when transferred by the rsync protocol.

If you run it a second time it will not transfer files already transferred.   Makes it very nice if you happen to have a power failure and the transfer is interrupted.

 

Joe L.

 

Thanks a lot for your reply, very useful. Though i think it's a bit difficult for me, but i'll figure it out. Gonna start on this as soon as pre clearing all the drives are finished (+/- 150 hours)

Download the attached .conf file and put it in the config folder on your new server.

 

Log in via telnet, or on the system console on the new server as "root" and type

rsync  --daemon  --config=/boot/config/rsyncd.conf

 

 

On the OLD server, log in via telnet, or on the system console and type:

cd /mnt

rsync  -avrH user/  tower2::mnt/

 

Change tower2 to the correct name for your second server... it must have a different name then your original one. (mine are named tower and tower2)

 

I suggest using the system console since the telnet session must be left up until the copy is complete and that could be days if you have a large amount of data.

 

It is not that hard.

  • 5 months later...

Sorry to drum up this old post, just wanted to make a correction...

 

I ran this same rsync command for this purpose...to copy my entire unraid server contents to another one...and it basically locked up my version of 'tower2' once I executed that final command on 'tower1'... 

 

I had to power off/back on to get it come back to life...even the destination (tower2) console was unresponsive and wouldn't respond to telnet, samba, anything...just pings.  I did this over and over again wondering what was going on, thinking I had shares setup incorrectly or something else out of whack...trying to fine tune things...

 

Leaving everything else Joe mentioned the same - rsync command on the new server the same...the original rsyncd.conf on the new server the same....but just modify the command that you enter on the old server that you're trying to copy data from, to the following:

 

rsync -avrH user/ tower2::mnt/user

 

...that did the trick for me.  Just in case someone's researching this like I did and runs into the same issue..

 

Pete

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.