D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: beefy314 on April 15, 2010, 05:14:28 AM

Title: how to backup volume a to b
Post by: beefy314 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 ?
Title: Re: how to backup volume a to b
Post by: gunrunnerjohn on April 15, 2010, 05:43:59 AM
Assuming that the second volume is empty, that sounds about right.
Title: Re: how to backup volume a to b
Post by: beefy314 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)?
Title: Re: how to backup volume a to b
Post by: gunrunnerjohn 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.
Title: Re: how to backup volume a to b
Post by: beefy314 on April 16, 2010, 11:30:24 AM
Is there any command if i wish to cancel any ongoing operation like when transferring files?
Title: Re: how to backup volume a to b
Post by: gunrunnerjohn on April 16, 2010, 11:36:07 AM
Did you try Ctrl-C?
Title: Re: how to backup volume a to b
Post by: beefy314 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! :)
Title: Re: how to backup volume a to b
Post by: gunrunnerjohn 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.