• February 28, 2025, 03:19:04 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: how to backup volume a to b  (Read 5363 times)

beefy314

  • Level 2 Member
  • **
  • Posts: 34
how to backup volume a to b
« on: April 15, 2010, 05:14:28 AM »

what's the fastest way to backup the entire contents of Volume 1 to volume 2? I'm replacing the hard drive of volume 1 so I need to transfer all the contents.

Do i just telnet and type cp /mnt/HD_a2 /mnt/HD_b2 ?
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: how to backup volume a to b
« Reply #1 on: April 15, 2010, 05:43:59 AM »

Assuming that the second volume is empty, that sounds about right.
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

beefy314

  • Level 2 Member
  • **
  • Posts: 34
Re: how to backup volume a to b
« Reply #2 on: April 15, 2010, 07:43:32 AM »

thanks gunrunnerjohn !

So once the copy process is done, I could remove volume a and replace with volume be and all settings will be retained(i.e fun plug, transmission)?
« Last Edit: April 15, 2010, 07:45:43 AM by beefy314 »
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: how to backup volume a to b
« Reply #3 on: April 16, 2010, 05:34:37 AM »

Well, I'm not sure about that!  You can copy all the data, but I'm not sure that truly will result in an "image" that will allow you to remove the original drive.

I've always done this the hard way, I have the data totally backed up elsewhere and copy it from then to the NAS.
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

beefy314

  • Level 2 Member
  • **
  • Posts: 34
Re: how to backup volume a to b
« Reply #4 on: April 16, 2010, 11:30:24 AM »

Is there any command if i wish to cancel any ongoing operation like when transferring files?
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: how to backup volume a to b
« Reply #5 on: April 16, 2010, 11:36:07 AM »

Did you try Ctrl-C?
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

beefy314

  • Level 2 Member
  • **
  • Posts: 34
Re: how to backup volume a to b
« Reply #6 on: April 16, 2010, 12:02:20 PM »

Yes it did not work.

I also encountered another problem. Instead of moving the files, I used the copy command( cp -r /name of directory). When the specified directory was copied to volume B, I only have read access to the duplicate file on volume b. I could not erase it using windows explorer.

How do I fix this and could you help me with the extension of the copy command so I can have read/write access to the copied file on volume b?

Really appriciate your help thanks! :)
« Last Edit: April 16, 2010, 12:05:00 PM by beefy314 »
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: how to backup volume a to b
« Reply #7 on: April 16, 2010, 12:56:55 PM »

What are the permissions on the other files?

You can use ls -l to list them and chmod to change them.
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.