• February 27, 2025, 12:00:19 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: What is the best way to copy files between volumes  (Read 6096 times)

lookingforinfo

  • Guest
What is the best way to copy files between volumes
« on: August 24, 2010, 07:58:04 PM »

I am now at the point where I am backing up our Vista machine to Volume_1 of a DNS-323 with FW 1.08.
My goal is to now make a second copy of the files on Volume_2.  I have mapped both volumes to drives Y: and Z: on the Vista machine and am copying the data to Volume_2.

I have found three programs (Robocopy, Deltacopy and Cygwin) that claim to perform the same as the Unix rsync command, but under Vista.  In my search of this list I find very few referenced to these products.

Is there a good way to mirror selected directories on Volume_1 to Volume_2 using Windows Vista?

Logged

dosborne

  • Level 5 Member
  • *****
  • Posts: 598
Re: What is the best way to copy files between volumes
« Reply #1 on: August 24, 2010, 08:05:40 PM »

Any pure client copy program will be slow as the data has to be transfered to the PC then back to the NAS. Rsync, cp (if you have ffp installed) or I believe even the backup option in the admin (can't say I've really looked at it) are your best options.
Logged
3 x DNS-323 with 2 x 2TB WD Drives each for a total of 12 TB Storage and Backup. Running DLink Firmware v1.08 and Fonz Fun Plug (FFP) v0.5 for improved software support.

scaramanga

  • Level 2 Member
  • **
  • Posts: 99
Re: What is the best way to copy files between volumes
« Reply #2 on: August 24, 2010, 11:47:42 PM »

What I'm suggesting here involves installing Fonz' Fun Plug and using rsync and rsync daemon:
Howto backup from one volume to the other: http://wiki.dns323.info/howto:backup
Howto backup a PC: http://wiki.dns323.info/howto:backup_-_pc
Logged
DNS-323 HW Rev. C1 FW 1.08 fun_plug 0.5
2 x Western Digital WD10EARS-00Y5B1 in Standard mode
(LLC changed to 5 minutes. Partitions aligned to 4K boundary)

lookingforinfo

  • Guest
Re: What is the best way to copy files between volumes
« Reply #3 on: August 25, 2010, 09:11:42 AM »

Thank you dosborne and scaramanga.  While I have not wanted to add Fun Plug because it is another set of software tools that need to be kept current, it looks like it may be time to bite the bullet.  scaramanga, the links were very helpful and I especially liked the idea of rotating the disk used as Volume_2 so one drive is always off-site.
Logged

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: What is the best way to copy files between volumes
« Reply #4 on: August 25, 2010, 10:02:26 AM »

To avoid ware and tear by keep removing and inserting drives in the 323, you could also use funplug to utilise the USB port for external drives or SATA enclosures. It's going to be a little slower than drive to drive inside the 323 though I would imagine.

I too was reluctant to use ffp. I didn't want to complicate the setup, but once you understand what it does and how it works I felt much more comfortable. You can run as many or as few packages as you like. One thing I discovered though is you need to disable all services such as SSH before you can run the scandisk or unmount the drive cleanly.

Here's a very good step by step tutorial: http://nas-tweaks.net/CH3SNAS:Tutorials/fun_plug
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

JohnnyDemonic

  • Level 1 Member
  • *
  • Posts: 20
Re: What is the best way to copy files between volumes
« Reply #5 on: August 27, 2010, 06:46:15 PM »

Once fun_plug is installed and running properly, I use the following to sync my 2 volumes:

Copying files from 1 volume to the other

   Copy from Right Volume to Left Volume
   cp -Rv /mnt/HD_a2/files /mnt/HD_b2/
   
   Copy from Left Volume to Right Volume
   cp -Rv /mnt/HD_b2/files /mnt/HD_a2/

I am only concerned with the information in the Files folder which is my "acquired" data. 

PS.  For whatever reason, rsync is no faster than copying from volume to volume using Windows browser.  Wish it were faster though.
Logged

scaramanga

  • Level 2 Member
  • **
  • Posts: 99
Re: What is the best way to copy files between volumes
« Reply #6 on: August 28, 2010, 05:17:58 AM »

If I were you I'd use "cp -a" which preserves file permissions and modification time.
What you wrote about rsync is a bit odd. Depending on how you set it up, first time it normally does require to copy everything over. But on next copies, it only needs to copy the changed files, which, in case you don't make too many changes to your files should take considerably less time.

If you need help setting-up rsync, see here: http://wiki.dns323.info/howto:backup
Logged
DNS-323 HW Rev. C1 FW 1.08 fun_plug 0.5
2 x Western Digital WD10EARS-00Y5B1 in Standard mode
(LLC changed to 5 minutes. Partitions aligned to 4K boundary)