xcopy fails with insufficient memory error
I am trying to create a backup of my c drive to another drive using a windows bootable USB stick and in troubleshooting mode.
See here as to why I am doing this
I can't install other software (I don't think). I ran the command:
c:\*.* d:\cBackup\ /e /f /h /k /j /c
and got
Insufficient memory 305157 Files copied
I notice that there is no Windows folder in the destination.
Does that mean that it copied everything that it could, and had some paths that were too long? Or that it failed the first time it had a path that was too long?
What other options do I have for making this backup?
31 Answer
In the end I used robocopy
Note that, robocopy has some odd defaults. If it can't copy a file, it will retry in 30s, up to 1,000,000 times...
So I set those options to 1 sec and 5 times.