I have large quantities to copy from one hard drive to another; 3+TB.Robocopy does not give a lot of % done feedback IIRC. I like the good ole File Manager approach. I also like to copy
What is the quickest way to do this?
It's taken days in the past. Will Robocopy be best?
Ed
"Ed Cryer" <ed@somewhere.in.the.uk> wrote
|I have large quantities to copy from one hard drive to another; 3+TB.
| What is the quickest way to do this?
| It's taken days in the past. Will Robocopy be best?
|
It all depends on the hardware, of course. I have a VBScipt
that I like to use for such things. Windows has no functionality
to say "copy only new". With my VBScript I input source and
destination folder paths, then the script copies over only what's
not already there. Such a script can also be customized to check
last modified dates. And it avoids the problem of going to have lunch
and coming back to find the copy was stopped due to something
that couldn't be copied or a question about replacing something.
I have large quantities to copy from one hard drive to another; 3+TB.
What is the quickest way to do this?
It's taken days in the past. Will Robocopy be best?
On 2/23/23 12:36, this is what Newyana2 wrote:my Acronis backup files to a 2nd HD.
"Ed Cryer" <ed@somewhere.in.the.uk> wroteThat's Robocopy. With the /MIR option it will mirror source to destination. It will add only new things or modified things, and delete files from dest if deleted in source. As it says, make an exact mirror. I use it all the time to backup
|I have large quantities to copy from one hard drive to another; 3+TB.
| What is the quickest way to do this?
| It's taken days in the past. Will Robocopy be best?
|
It all depends on the hardware, of course. I have a VBScipt
that I like to use for such things. Windows has no functionality
to say "copy only new". With my VBScript I input source and
destination folder paths, then the script copies over only what's
not already there. Such a script can also be customized to check
last modified dates. And it avoids the problem of going to have lunch
and coming back to find the copy was stopped due to something
that couldn't be copied or a question about replacing something.
On 2/23/23 11:59, this is what Ed Cryer wrote:
[quoted text muted]
What is the quickest way to do this?
It's taken days in the past. Will Robocopy be best?
EdRobocopy does not give a lot of % done feedback IIRC.
Robocopy is very good - it can log what happens so you can find
problems, and you can test it using the /L switch to confirm that your command line is correct.
Best put it all in a .BAT file so you can edit it.
For example:
Echo Preparing Copy > C:\LogFiles\Robo.log
:: /TEE = output to console as well as file
:: /S = copies subdirectories
:: /XO = exclude older files
:: /MIR = make destination a mirror of source
On Thu, 23 Feb 2023 12:13:15 -0500, Big Al wrote:
On 2/23/23 11:59, this is what Ed Cryer wrote:
[quoted text muted]Robocopy does not give a lot of % done feedback IIRC.
What is the quickest way to do this?
It's taken days in the past. Will Robocopy be best?
Ed
I think you are R-ing I-ly. By default, robocopy shows a % complete
progress indicator for each file. (The /NP option inhibits this, and
I always use it because my files are not large enough to be worth
monitoring in that way.)
One large advantage of robocopy is that it can restart files where
copying was not complete. See the /B, /BZ, and /Z options.
Ed Cryer wrote:
I have large quantities to copy from one hard drive to another; 3+TB.
What is the quickest way to do this?
It's taken days in the past. Will Robocopy be best?
The most significant factor will be the connection of the drives. Are
they in the same PC, using SATA? Or USB? USB2 will be hopelessly slow,
USB3 tolerable. Or over a network? WiFi will be useless, Wired
Ethernet at 100Mbits tolerable, Gigabit better.
Robocopy is very good - it can log what happens so you can find
problems, and you can test it using the /L switch to confirm that your command line is correct.
Best put it all in a .BAT file so you can edit it.
For example:
--------------------------
echo off
echo Copies files
pause
Echo Preparing Copy > C:\LogFiles\Robo.log
:: /S = copies subdirectories
:: /XO = exclude older files
:: /R:0 = zero retries
:: /XD dirs = Exclude directories:
:: /LOG:file = output to log, overwriting /LOG+:file appends
:: /XX = eXclude eXtra files (in det but not source)
:: /TEE = output to console as well as file
:: /NDL = no directory list, but full path names are shown ...
:: /MIR = make destination a mirror of source
:: /NP = don't show progress
:: see https://ss64.com/nt/robocopy.html
:: Note, Music, Pictures & Videos are junctions
set _Src=C:\Source\FolderNameNoSpaces
set _Dest=D:\Destination\Folder Name With Spaces
set _Switches=/NDL /NP /S /TEE /XJ /XO /R:0
set _Logging=/LOG+:C:\LogFiles\Robo.log
Robocopy %_Src% "%_Dest%" %_Switches% %_Logging%
pause
Exit
--------------------------
Note that path variables need quotes when they contain spaces
I have large quantities to copy from one hard drive to another; 3+TB.
What is the quickest way to do this?
It's taken days in the past. Will Robocopy be best?
Ed Cryer <ed@somewhere.in.the.uk> wrote:
I have large quantities to copy from one hard drive to another; 3+TB.
What is the quickest way to do this?
It's taken days in the past. Will Robocopy be best?
You've mentioned software, but not hardware. Make sure you have the fastest connection possible between the two harddrives. Avoid USB and network connections. Although, I suspect the limiting factor will be the write
speed of the destination drive.
You should expect 100MB/s sequential write speed and assuming that's the primary bottleneck transferring 3TB of data should take about 8.5 hours.
I would do low-level copy of the HDD rather than copying the files.
On 2/24/2023 11:17 AM, Chris wrote:Your description to me implies that one should do a Defrag on HDDs and
Ed Cryer <ed@somewhere.in.the.uk> wrote:
I have large quantities to copy from one hard drive to another; 3+TB.
What is the quickest way to do this?
It's taken days in the past. Will Robocopy be best?
You've mentioned software, but not hardware. Make sure you have the
fastest
connection possible between the two harddrives. Avoid USB and network
connections. Although, I suspect the limiting factor will be the write
speed of the destination drive.
You should expect 100MB/s sequential write speed and assuming that's the
primary bottleneck transferring 3TB of data should take about 8.5 hours.
I would do low-level copy of the HDD rather than copying the files.
The answer to this, in a general way, is "any tool which does a smart
copy".
How a smart copy works, is first the tool reads the $MFT and gets
information on what clusters on the partition, carry important information. All the clusters which are an active part of the partition, are
placed in a giant list.
The program then reads the disk sequentially, hopping from one set of clusters
to the next. No "white space" is copied.
XXXXXXXXX XXXXXXXX XXX XXXXXXXXXXXXX
Because the disk access is sequential and the head moves in one
direction, the copy tends to be faster than the random access
pattern of a File Explorer file-by-file copy (using rotating hard drives).
On Macrium, this would be stored as a .mrimg (on a backup).
If you are cloning instead, the destination can also be written
sequentially.
(If you clone to a smaller partition, all bets are off on the efficiency issue.)
XXXXXXXXX XXXXXXXX XXX XXXXXXXXXXXXX
Therefore, for "tough" copy jobs, cloning is faster than copying,
but only if you "need to copy everything on the partition". If
you needed to copy just one file, cloning the entire partition would
be silly.
*******
Generally speaking, File Explorer is not allowed to do anything "super-efficient". That's because such a behavior would be non-scalable
(you could run out of RAM on a large file copy). When solutions are
designed, they have to work just as well on a computer with 512MB of
RAM, as on a machine with 64GB of RAM.
A second reason for some operations being not that adventurous, is
"power safe". They want the file system to survive a power failure,
and consequently, not too many operations can be chained together.
This is why the defragmenter API is power safe - the operations
are horribly small and inefficient.
What I could do, when copying 3000 files, is I could update the
$MFT at the end, and install all 3000 new entries, in one write
operation. But such a lack of granularity, would disadvantage
other programs running on the machine, and a need for "fairness"
means doing the operations "one at a time".
So while a user with a gleam in their eye, can suggest
all sorts of ways to speed things up, generally speaking
there is always an explanation why it won't work :-)
Now, what I could do without, is all that "calculating..."
bullshit, and the several slow animations going on. Some of
that, if you had to, could be ditched for the shit that it is.
*******
While Windows has a System Read cache (like every other OS!),
it makes poor usage of it. I see situations all the time, where
I know the clusters for an operation are in the block cache,
and the OS won't use the block cache and goes right back
to the disk and reads the info a second time.
The best OS for harnessing the System Read cache, was Win2K.
It was just as good as MacOSX.
Paul
On 2/24/2023 11:17 AM, Chris wrote:
Ed Cryer <ed@somewhere.in.the.uk> wrote:
I have large quantities to copy from one hard drive to another; 3+TB.
What is the quickest way to do this?
It's taken days in the past. Will Robocopy be best?
You've mentioned software, but not hardware. Make sure you have the fastest >> connection possible between the two harddrives. Avoid USB and network
connections. Although, I suspect the limiting factor will be the write
speed of the destination drive.
You should expect 100MB/s sequential write speed and assuming that's the
primary bottleneck transferring 3TB of data should take about 8.5 hours.
I would do low-level copy of the HDD rather than copying the files.
Therefore, for "tough" copy jobs, cloning is faster than copying,
but only if you "need to copy everything on the partition". If
you needed to copy just one file, cloning the entire partition would
be silly.
Agreed. Given the OP has over 3TB of data it's not a small number of files
so a clone would be sensible.
On 2/24/2023 5:37 PM, Chris wrote:
Agreed. Given the OP has over 3TB of data it's not a small number of files >> so a clone would be sensible.
The reason we want some sort of "normal" copy, like Robocopy,
is to gather information about whether the file system is normal
or whether it is damaged.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 06:01:06 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,021 |