Micky
2016-09-06 03:28:11 UTC
I used to have two operating systems running from different partitions
or different drives, and I would back up the files of one when I was
using the other, using XXCopy. As I recall, I got no error messages
because the OS I was backing up was not running.
I finally got something sort of like that running here. That is, this
time, I booted from a CD so that, I thought, each and every file in
the source partition C: would be available for copying from, and so
that the destination partition would be totally available too, but the
results were not so good. FTR the CD created a B: and an X:
partition, but C: and D: were as normal. The log file ended up where
it was supposed to. Both partitions are NTFS. I ran this from a cmd
window.
C:\xxcopy C: D: /clone /ILSCraigVista /ILDCraigVista2
/oAC:\Alogs\Vista-FULLCopy.log /tc /FF3602 /oX3
/ex"c:\xxcopy-ex-list.txt"
XXCopy is a lot like Xcopy but with more options. I've been using it
for 10 or 15 years. Explanation of the parameters at the bottom**
I got the partitions right and the /ILS and /ILD parms would have
caught it if they weren't, and these are the results.
Files Examined = 147,360
Files Copied = 7,499
Error Count = 1,328
There really are 1300 errors. Sample errors are below.
I had cloned my main partition using Macrium Reflect Free**, and I
have the log somewhere (For the most part, I don't let cleanup
programs delete logs.) but it really doesn't matter because it's
XXCopy I was relying on to do a final update before switching to the
clone.
Macrium Reflect said it had made the clone bootable, but if it didn't,
I'm going to use XXClone to make it bootable.
The most common file type not copied is .dll, and some .exe . Some
are in obscure directories for stuff I didn't even know I have, but
look at these. I can provide a bigger sample if that will help:
C:\Windows\System32\atmfd.dll Copy Failed
C:\Windows\System32\atmlib.dll Copy Failed
C:\Windows\System32\cdd.dll Copy Failed
C:\Windows\System32\d3d10level9.dll Copy Failed
C:\Windows\System32\dxtmsft.dll Copy Failed
C:\Windows\System32\dxtrans.dll Copy Failed
I looked in the destination and none of these 6 are there. I
presume none of the other 1350 are there either, but I'll check more
if you want. All the .dll files that are there have attributes of
a, only . Here are more from System32.
C:\Windows\System32\FwRemoteSvr.dll Copy Failed
C:\Windows\System32\gdi32.dll Copy Failed
C:\Windows\System32\gpapi.dll Copy Failed
C:\Windows\System32\gpscript.dll Copy Failed
C:\Windows\System32\gpscript.exe Copy Failed
C:\Windows\System32\gpsvc.dll Copy Failed
C:\Windows\System32\html.iec Copy Failed
C:\Windows\System32\ieframe.dll Copy Failed
C:\Windows\System32\iertutil.dll Copy Failed
C:\Windows\System32\ieui.dll Copy Failed
C:\Windows\System32\ieUnatt.exe Copy Failed
C:\Windows\System32\inetcpl.cpl Copy Failed
C:\Windows\System32\inetpp.dll Copy Failed
C:\Windows\System32\IPSECSVC.DLL Copy Failed
C:\Windows\System32\jscript.dll Copy Failed
C:\Windows\System32\jscript9.dll Copy Failed
C:\Windows\System32\jsproxy.dll Copy Failed
C:\Windows\System32\kerberos.dll Copy Failed
C:\Windows\System32\kernel32.dll Copy Failed
C:\Windows\System32\localspl.dll Copy Failed
C:\Windows\System32\lsasrv.dll Copy Failed
C:\Windows\System32\msfeeds.dll Copy Failed
C:\Windows\System32\msfeedsbs.dll Copy Failed
C:\Windows\System32\msfeedssync.exe Copy Failed
C:\Windows\System32\mshta.exe Copy Failed
C:\Windows\System32\mshtml.dll Copy Failed
C:\Windows\System32\mshtml.tlb Copy Failed
C:\Windows\System32\mshtmled.dll Copy Failed
C:\Windows\System32\msorcl32.dll Copy Failed
And a lot more, including a whole string of directories like the 3
below, and not just 3 but about 225, that could not be created. Huh?
What am I doing wrong? What is it about these files that keep them
from being copied? Why should it be able to create some directories
and not others?
D:\Windows\winsxs\x86_wpf-windowsbase_31bf3856ad364e35_6.0.6002.23935_none_59c1ab5f5e1de141\
Can't Create
D:\Windows\winsxs\x86_wpf-xpsviewerexe_31bf3856ad364e35_6.0.6002.19622_none_cb06397305c3ffe0\
Can't Create
D:\Windows\winsxs\x86_wpf-xpsviewerexe_31bf3856ad364e35_6.0.6002.23935_none_cb880afc1ee701ee\
Can't Create
Original command, again:
C:\xxcopy C: D: /clone /ILSCraigVista /ILDCraigVista2
/oAC:\Alogs\Vista-FULLCopy.log /tc /FF3602 /oX3
/ex"c:\xxcopy-ex-list.txt"
**/Clone is a combination option that copies everything that is not
already copied and deletes anything that is no longer in the source
(except it doesn't delete files or folders that are skipped because of
the EXclude file, which is only a problem if one adds something new to
the file.)
/ILS and /ILD make certain you have the partition letters correct as
long as you don't have two partitions with the same name, even on
different drives.
/oA means append the log file to the log file that follows.
I forget what /tc means but it's good.
/FF3602 means consider two files to match if size etc. match and their
date/time is off by 3602 seconds or less, one hour to allow for
changes to daylight savings time. This will mean that some files
will not be backed up the first time, but almost all of them will be
backed up the next time. You know, I think I will take this out for
copies run infrequently. But having it in by mistake would just mean
no copy was attempted when it should have been, not that a copy would
fail. Anyhow, almost all of the .dll and .exe files in the windows
subdirectories don't get updated at all, and those that do, not in the
hour that marks the change of daylight savings time.
/oX3 means include a list of the exclusions in the output file.
/ex"c:\xxcopy-ex-list.txt" says where the exclusion file is, the file
that excludes hibernat.sys, etc. from copying. The rules for the use
of * are very powerful.
More results from the output file:
Files Zapped (by /Z) = 10,888 --- I have no reason to think this
is wrong. Probably webcache files, because I didn't have sense
enough, or a good method, to delete them at the time of the first
cloning, but I did before this step.
Bytes Zapped (by /Z) = 10,930,624,906 -- fwiw averaging 1 meg
per deleted file.
Directories Deleted = 466 --- This seems like a lot but again I
have no reason to think it's wrong. I paid close attention when I
first got xxcopy and by golly it worked. BTW, I have closely scanned
all 1300 lines and I didn't see any file or directory deletions that
failed. I presume it records those too. So if it can delete things,
why can't it create some things?
or different drives, and I would back up the files of one when I was
using the other, using XXCopy. As I recall, I got no error messages
because the OS I was backing up was not running.
I finally got something sort of like that running here. That is, this
time, I booted from a CD so that, I thought, each and every file in
the source partition C: would be available for copying from, and so
that the destination partition would be totally available too, but the
results were not so good. FTR the CD created a B: and an X:
partition, but C: and D: were as normal. The log file ended up where
it was supposed to. Both partitions are NTFS. I ran this from a cmd
window.
C:\xxcopy C: D: /clone /ILSCraigVista /ILDCraigVista2
/oAC:\Alogs\Vista-FULLCopy.log /tc /FF3602 /oX3
/ex"c:\xxcopy-ex-list.txt"
XXCopy is a lot like Xcopy but with more options. I've been using it
for 10 or 15 years. Explanation of the parameters at the bottom**
I got the partitions right and the /ILS and /ILD parms would have
caught it if they weren't, and these are the results.
Files Examined = 147,360
Files Copied = 7,499
Error Count = 1,328
There really are 1300 errors. Sample errors are below.
I had cloned my main partition using Macrium Reflect Free**, and I
have the log somewhere (For the most part, I don't let cleanup
programs delete logs.) but it really doesn't matter because it's
XXCopy I was relying on to do a final update before switching to the
clone.
Macrium Reflect said it had made the clone bootable, but if it didn't,
I'm going to use XXClone to make it bootable.
The most common file type not copied is .dll, and some .exe . Some
are in obscure directories for stuff I didn't even know I have, but
look at these. I can provide a bigger sample if that will help:
C:\Windows\System32\atmfd.dll Copy Failed
C:\Windows\System32\atmlib.dll Copy Failed
C:\Windows\System32\cdd.dll Copy Failed
C:\Windows\System32\d3d10level9.dll Copy Failed
C:\Windows\System32\dxtmsft.dll Copy Failed
C:\Windows\System32\dxtrans.dll Copy Failed
I looked in the destination and none of these 6 are there. I
presume none of the other 1350 are there either, but I'll check more
if you want. All the .dll files that are there have attributes of
a, only . Here are more from System32.
C:\Windows\System32\FwRemoteSvr.dll Copy Failed
C:\Windows\System32\gdi32.dll Copy Failed
C:\Windows\System32\gpapi.dll Copy Failed
C:\Windows\System32\gpscript.dll Copy Failed
C:\Windows\System32\gpscript.exe Copy Failed
C:\Windows\System32\gpsvc.dll Copy Failed
C:\Windows\System32\html.iec Copy Failed
C:\Windows\System32\ieframe.dll Copy Failed
C:\Windows\System32\iertutil.dll Copy Failed
C:\Windows\System32\ieui.dll Copy Failed
C:\Windows\System32\ieUnatt.exe Copy Failed
C:\Windows\System32\inetcpl.cpl Copy Failed
C:\Windows\System32\inetpp.dll Copy Failed
C:\Windows\System32\IPSECSVC.DLL Copy Failed
C:\Windows\System32\jscript.dll Copy Failed
C:\Windows\System32\jscript9.dll Copy Failed
C:\Windows\System32\jsproxy.dll Copy Failed
C:\Windows\System32\kerberos.dll Copy Failed
C:\Windows\System32\kernel32.dll Copy Failed
C:\Windows\System32\localspl.dll Copy Failed
C:\Windows\System32\lsasrv.dll Copy Failed
C:\Windows\System32\msfeeds.dll Copy Failed
C:\Windows\System32\msfeedsbs.dll Copy Failed
C:\Windows\System32\msfeedssync.exe Copy Failed
C:\Windows\System32\mshta.exe Copy Failed
C:\Windows\System32\mshtml.dll Copy Failed
C:\Windows\System32\mshtml.tlb Copy Failed
C:\Windows\System32\mshtmled.dll Copy Failed
C:\Windows\System32\msorcl32.dll Copy Failed
And a lot more, including a whole string of directories like the 3
below, and not just 3 but about 225, that could not be created. Huh?
What am I doing wrong? What is it about these files that keep them
from being copied? Why should it be able to create some directories
and not others?
D:\Windows\winsxs\x86_wpf-windowsbase_31bf3856ad364e35_6.0.6002.23935_none_59c1ab5f5e1de141\
Can't Create
D:\Windows\winsxs\x86_wpf-xpsviewerexe_31bf3856ad364e35_6.0.6002.19622_none_cb06397305c3ffe0\
Can't Create
D:\Windows\winsxs\x86_wpf-xpsviewerexe_31bf3856ad364e35_6.0.6002.23935_none_cb880afc1ee701ee\
Can't Create
Original command, again:
C:\xxcopy C: D: /clone /ILSCraigVista /ILDCraigVista2
/oAC:\Alogs\Vista-FULLCopy.log /tc /FF3602 /oX3
/ex"c:\xxcopy-ex-list.txt"
**/Clone is a combination option that copies everything that is not
already copied and deletes anything that is no longer in the source
(except it doesn't delete files or folders that are skipped because of
the EXclude file, which is only a problem if one adds something new to
the file.)
/ILS and /ILD make certain you have the partition letters correct as
long as you don't have two partitions with the same name, even on
different drives.
/oA means append the log file to the log file that follows.
I forget what /tc means but it's good.
/FF3602 means consider two files to match if size etc. match and their
date/time is off by 3602 seconds or less, one hour to allow for
changes to daylight savings time. This will mean that some files
will not be backed up the first time, but almost all of them will be
backed up the next time. You know, I think I will take this out for
copies run infrequently. But having it in by mistake would just mean
no copy was attempted when it should have been, not that a copy would
fail. Anyhow, almost all of the .dll and .exe files in the windows
subdirectories don't get updated at all, and those that do, not in the
hour that marks the change of daylight savings time.
/oX3 means include a list of the exclusions in the output file.
/ex"c:\xxcopy-ex-list.txt" says where the exclusion file is, the file
that excludes hibernat.sys, etc. from copying. The rules for the use
of * are very powerful.
More results from the output file:
Files Zapped (by /Z) = 10,888 --- I have no reason to think this
is wrong. Probably webcache files, because I didn't have sense
enough, or a good method, to delete them at the time of the first
cloning, but I did before this step.
Bytes Zapped (by /Z) = 10,930,624,906 -- fwiw averaging 1 meg
per deleted file.
Directories Deleted = 466 --- This seems like a lot but again I
have no reason to think it's wrong. I paid close attention when I
first got xxcopy and by golly it worked. BTW, I have closely scanned
all 1300 lines and I didn't see any file or directory deletions that
failed. I presume it records those too. So if it can delete things,
why can't it create some things?