I thought I would share a fast way to copy files from one NAS to another. I had the misfortune of my MBL 2TB drive starting to fail. WD made good by replacing it. I needed to copy my data to the new drive so I could send the failing drive back to WD. Doing this through Windows file copy or FreeFileSync or some other way was going to take a long time. A small bit of research revealed that “wget” could do the job. “wget” is already installed on the MBL, so NO HACKING is required! GREAT NEWS.
So here is what I did to copy all the files from “Public” on one MBL to “Public” on another:
(Updated switches 12-FEB-2012 to fully copy drive)
Replace “password” with the admin password for the MBL
Replace “ip-address” witht the ip-address of the NAS you would like to copy FROM
“-mirror” means recursively drill down unlimited depth
“-np” keeps recursion below the parent (probalby not needed)
“-x” creates even empty directories if they exist
“–no-host-directories” means do not prepend the ip-address to the local directory structure
On my 1GB network moving files from a 2TB MBL to a 6TB MBL-Duo went at a rate of 20-35MB/s! Just awesome.
For example to transfer a 21GB directory took 21min. I had all 705GB of data copied in…well the MBL I am taking the data from is failing, so it does not make it through all 705GB before I have to unplug/replug the drive. The average transfer rate over all files copied (small, large, and otherwise) is 19MB/s for me.
Note: is “colon” followed by “p” in the wget command.
I have the same problem of trying to transfer all my data from one defective MybookLive to another. It will take 6 full days to transfer if i simply copy and paste. Transfer rate is 1MB/sec
My defective drive folders can be accessed but the dashboard can not.
Could you let me know the best and fastest way to do this please.
With kind regards
Urgent Hetty from the Netherlands :stuck_out_tongue:
I have enabled ssh on my new MBL and I have also downloaded putty. But when I come to use putty, it opens a black page and asks 'sign on as 'I type admin and then it asks for a password but with a little yellow curser that won’t allow any input. My mbl has no password at this time.
Entering simply causes a bad password response
My sytem is 64bit win7 ultimate but putty is x86…is this the problem or something else.
Ah…the user id is “root” and the password is the same password you have assigned for web interface access. You are logging onto a linux machine. “root” is the equivalent of administrator. Do you know your way around linux at all? The command to change directories is that same as for Windows command window (DOS for the old timers) “cd”. However to list files the command is “ls” and not “dir”.
The output you shared is exactly what I would expect. Instead of typing “ls /shares” you would do better to just type “ls”. This way you will list the CURRENT directory to make sure you are in the right one. You can also type “pwd” and the current directory name will be shown.
I have confused you by adding the option to have the results of the command be directed to a log file. The value “directory/logfile” is meant for you to enter the path and filename for where you would like to have the ouput of the wget command go to. So…let’s skip that step.
Thank you for your great explanation. Everything worked up to the point where my login failed.
I have reset my Mybooklive (defective one) and assumed that admn:admin would work but no. I also tried my old passwords and 123456 but everything fails…any thoughts.
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Disclaimer: SSH provides access to the network device and all its
content, only users with advanced computer networking and Linux experience
should enable it. Failure to understand the Linux command line interface
can result in rendering your network device inoperable, as well as allowing
unauthorized users access to your network. If you enable SSH, do not share
the root password with anyone you do not want to have direct access to all
the content on your network device.
MyBookLive:~# ls /shares
Public wget-log
MyBookLive:~# wget -mirror -np -x --no-host-directories ftp://admin:admin@192.168.2.1/Public
–2012-02-15 23:15:45-- ftp://admin:\*password\*@192.168.2.1/Public
=> `.listing’
Connecting to 192.168.2.1:21… connected.
Logging in as admin …
Login incorrect.
rror: No such file or directory
No URLs found in rror.
MyBookLive:~#
Hmmm…well you already tried your old password. My suggestions would be to try the default password of “welc0me” and also try removing both the userid and password (and the colon). Did you set up any other users? Maybe you could give those a try too. I am at a loss to help if you cannot log in :cry: