3
I've backed up my windows profile folder to external hard drive with the following command in batch file:
robocopy %userprofile% %~dp0src\dest /b /mir /mt /r:1 /w:5 >nul
After the copy was completed the destination folder ended up being bigger in size (by a couple of Gb) and containing more files than the source folder.
What may be the cause of it?
Different allocation unit sizes between source and destination volumes. How are you determining the sizes of the two folders? – I say Reinstate Monica – 2017-05-15T19:07:39.387
@Twisty also more files – Daniel F – 2017-05-15T19:08:03.010
@DanielF LOL. If that's true, silly me for assuming the OP took that into account before asking this question!! – I say Reinstate Monica – 2017-05-15T19:08:54.000
@Twisty by windows "properties" on the folder – qwaz – 2017-05-15T19:13:17.473
2
Without /sl it copies the target instead of the symbolic link. Maybe the windows properties are not taking that into account and you do have a symlink somewhere. http://stackoverflow.com/questions/2483010/how-to-list-all-symbolic-links-on-an-ntfs-filesystem
– Daniel F – 2017-05-15T19:19:01.370In the Properties dialog, are you comparing
Size
orSize on disk
? – I say Reinstate Monica – 2017-05-15T19:47:37.3201Size. I open dialog on both source and destination folders and compare sizes. – qwaz – 2017-05-15T20:07:30.703
@TwistyImpersonator
@qwaz
.... Use thefsutil fsinfo ntfsinfo c:
elevated command prompt and compare the applicable sizes, etc. If you must, reformat the destination partition, etc. to use the same bytes per sector and cluster— I agree with Twist <Scream and Shout>☺☺☺☺☺☺ – Pimp Juice IT – 2017-12-10T07:00:02.437some of the source files could also be using ntfs compression, whereas the destination will not auto compress things – BeowulfNode42 – 2017-12-10T07:32:26.780