This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

How to copy data between two HDD using rsync

Synchronize files & directories to/from XigmaNAS with minimal data transfer.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Neo
NewUser
NewUser
Posts: 14
Joined: 22 Jul 2012 13:19
Status: Offline

How to copy data between two HDD using rsync

Post by Neo »

Hi,

I am not sure if this is the right place to post.

I need help in copying a large chunk of data from one HDD to another. Both are in my nas4free box.

I do have read somewhere that rsync can do this job quickly and with ease.

How do I configure rsync to copy files from one hdd to another.
Specs: 10.3.0.3 - Pilingitam BETA (revision 2617) on: x64-embedded on Intel(R) Xeon(R) CPU X3353 @ 2.66GHz - 4 GB RAM on 4 GB USB. 10TB - 2 X 2TB (UFS) + 2 x 3TB (UFS)

kernow
experienced User
experienced User
Posts: 92
Joined: 23 Jun 2012 01:28
Status: Offline

Re: How to copy data between two HDD using rsync

Post by kernow »

Is there any reason why you can't just copy it using the webgui file manager?

Otherwise you can SSH in and

Code: Select all

rsync -av source destination
HP Microserver N36L / 6GB ECC RAM / 2 x 2TB WD20EARS, N4F9.1.x

Neo
NewUser
NewUser
Posts: 14
Joined: 22 Jul 2012 13:19
Status: Offline

Re: How to copy data between two HDD using rsync

Post by Neo »

kernow wrote:Is there any reason why you can't just copy it using the webgui file manager?

Otherwise you can SSH in and

Code: Select all

rsync -av source destination
I can transfer using webgui.. I am not sure of the speed though :?

I will try this command and will report back. :shock:
Specs: 10.3.0.3 - Pilingitam BETA (revision 2617) on: x64-embedded on Intel(R) Xeon(R) CPU X3353 @ 2.66GHz - 4 GB RAM on 4 GB USB. 10TB - 2 X 2TB (UFS) + 2 x 3TB (UFS)

kernow
experienced User
experienced User
Posts: 92
Joined: 23 Jun 2012 01:28
Status: Offline

Re: How to copy data between two HDD using rsync

Post by kernow »

File copying will be faster than rsynching
HP Microserver N36L / 6GB ECC RAM / 2 x 2TB WD20EARS, N4F9.1.x

User avatar
F8BOE
experienced User
experienced User
Posts: 106
Joined: 03 Jun 2013 23:09
Location: France
Status: Offline

Re: How to copy data between two HDD using rsync

Post by F8BOE »

Only if the file manager would work... but it is definately not reliable.
RSYNC is the way to go.
Infos available in the manual: man rsync

Ciao @+

Snunn1
Starter
Starter
Posts: 35
Joined: 05 Sep 2013 21:55
Status: Offline

Re: How to copy data between two HDD using rsync

Post by Snunn1 »

Code: Select all

rsync -v -a -z /mnt/Data/ /mnt/Backup/
This link might help as well: http://www.techrepublic.com/blog/window ... evice/2602
NAS4Free 10.2.0.2.2545 P14 Embedded on 1GB USB Key
HP N40L Microserver - 8GB ECC RAM, 3x Seagate 500GB RAIDZ1, 1x Seagate 500GB UFS & 1x 200GB SATA
Extensions: RRDGraphs

Snunn1
Starter
Starter
Posts: 35
Joined: 05 Sep 2013 21:55
Status: Offline

Re: How to copy data between two HDD using rsync

Post by Snunn1 »

Snunn1 wrote:

Code: Select all

rsync -v -a -z /mnt/Data/ /mnt/Backup/
I forgot to mention that you'll need to SSH into your NAS or use the Advanced -> Command screen from the GUI to run the above.
NAS4Free 10.2.0.2.2545 P14 Embedded on 1GB USB Key
HP N40L Microserver - 8GB ECC RAM, 3x Seagate 500GB RAIDZ1, 1x Seagate 500GB UFS & 1x 200GB SATA
Extensions: RRDGraphs

User avatar
F8BOE
experienced User
experienced User
Posts: 106
Joined: 03 Jun 2013 23:09
Location: France
Status: Offline

Re: How to copy data between two HDD using rsync

Post by F8BOE »

Hello,

You can also program it in the Services|Rsync|Local section in the WebGUI an it shoud result in the local rsync chart as something like:
"/mnt/USB02/Mageia/cauldron/" "/mnt/USB01/Mageia4/" "root" "Mageia Cauldron Backup"
Give the date and time you want your NAS to do the job et voilà...

Ciao @+

Post Reply

Return to “RSYNC”