Maestro Ney 2004
How do I clone/backup a hard disk under Windows?
<http://navasgrp.home.att.net/tech/clone_copy.htm>.
information
compiled by the author and is provided as a public service. The author is not
responsible for any errors or omissions, or for any consequential problems that might
result. USE AT YOUR OWN RISK.
Contents
Important Notes:
- The author has no present connection with any organization
mentioned herein (other than as a customer), and does not endorse the products of any
organization. This information was compiled by the author and is provided as a public
service. Neither the author nor any organization mentioned herein are responsible for any
errors or omissions, or for any consequential problems that might result. USE AT YOUR
OWN RISK.
- The author does not have the time to give individual technical
support, so please do not email requests for assistance. Thank you.
- Email comments and suggestions to mailto:jnrelay1@sonic.net?Subject=Disk
cloning
WARNING!
XCOPY/XCOPY32, Windows
Explorer, PKZIP, WinZip,
CD-R/CD-RW mastering programs, and even most Windows backup programs do not
preserve the short file names that are automatically generated by 32-bit Windows for files
with long file names. This is a problem because the short form is often stored in the
Registry, INI files, and shortcuts, rather than the long form. (Just search your Registry
for "~" to check this on your own system.) As a result, when these files are
restored, your system may not be able to find them!
Proof
For proof, run the following commands (e.g.,
with a BATch file) in a Windows 95/98 Command Window:
mkdir $$SOURCE
ECHO X >$$SOURCE\LONGNAME1
ECHO X >$$SOURCE\LONGNAME2
ECHO X >$$SOURCE\LONGNAME3
DELTREE /Y $$SOURCE\LONGNAME1
xcopy /s /e /c /r /h /k $$SOURCE $$$DEST\
DIR $$SOURCE
DIR $$$DEST |
Then look at the short file names in the $$SOURCE
and $$$DEST directories:
Directory of C:\$$SOURCE
...
LONGNA~2
4 12-17-98 8:41a LONGNAME2
LONGNA~3
4 12-17-98 8:41a LONGNAME3
...
Directory of C:\$$$DEST
...
LONGNA~1
4 12-17-98 8:41a LONGNAME2
LONGNA~2
4 12-17-98 8:41a LONGNAME3
... |
If LONGNA~2/LONGNA~3 were registered or
otherwise linked, changing the names to LONGNA~1/LONGNA~2 would
break those links, or worse, point to the wrong files -- note that LONGNA~2
now points to LONGNAME3 instead of LONGNAME2!
Why you haven't heard
You may be asking yourself, "if this really is a problem,
how come I haven't heard about it before now?" You may be tempted to assume that the
problem is rare.
- Some people don't have the conditions that can trigger the
problem; i.e., they don't have multiple short file names other than those that end
in "~1".
- There is a chance that new short files names generated during a
copy are in the exact same order that they were created on the source, so that they match.
- The problem can be hard to notice until a good deal of time has
passed; i.e., you may not experience it until you happen to use a particular
function in a particular application (e.g., your spell checker mysteriously stops
working).
- When you do notice a problem, you may not attribute it correctly,
particularly if a lot of time has passed since the damage was done. (Many people expect
Windows systems to be flaky.)
These last two reasons are why it is not safe to assume
that the problem is too rare to worry about -- many people may have been affected, but
simply not know what really happened.
Microsoft Knows
Microsoft acknowledges
this problem in:
despite of this, Microsoft still exacerbates this
problem with its own practices by prefixing so many file/directory names adding the word
"Microsoft" before names. Here is an actual example of installed Microsoft
software:
...
Directory of C:\Program Files MICROS~1
<DIR> 06-16-97 9:52p Microsoft
Exchange
MICROS~3
<DIR> 01-06-98 12:27p Microsoft Image
Composer
MICROS~4
<DIR> 07-16-98 4:38a Microsoft Chat
MICROS~2
<DIR> 07-16-98 4:38a Microsoft
NetShow
MICROS~5
<DIR> 07-16-98 4:38a Microsoft
FrontPage Express
MICROS~6
<DIR> 09-03-98 7:20a Microsoft
Office
MICROS~7
<DIR> 11-07-98 8:09p Microsoft Games |
When these are cloned/restored, the short file
names may well get scrambled if the software does not preserve them. This matters because
these short file names were stored and used -- here's an example:
FPXPRESS.INI
[FrontPageExpress2.0]
FrontPageExpressRoot=C:\PROGRA~1\MICROS~5 |
(Note that even "Program Files" is a potential
problem.)
HD BACKUP Programs review
PAID
A good solution is to use a special "cloning" program that
preserves both long and short file names; e.g.,
- Norton Ghost
(Symantec). (Available separately as Norton Ghost 2001; also
included in Norton SystemWorks
Professional, which can often be found heavily discounted) (e.g., at auction).
Recommended.
I think this program is good (useful) only to replicate the content from a HD to
another, include bootable. Most likely when we buy a bigger new HD, so in the
own store they would make the job to conect the HDs to copy. It's useful also if we
have money and we have a spare HD, to prevent thefts, hackers, Windows corruptions, etc.
A Ghost image file cannot be saved to the same drive (or
partition) being copied.
You must have a removable (or not) spare HD to save the image file.
Norton Ghost is the best program to do backups or replicate
HD contents. Copying a HD to another, the origin HD and destiny HD maybe
on the same PC or in diferent PCs. If in a diferent PC, must be conected through NetBios
or paralel ports. In the same, by jumpers and CMOS/Bios. Both HDs must be free of
corrupted files or physical errors. (I think this maybe accomplished only with
technical assistence).
It may recreate selected files with a Explorer-like program, to remedy file acidental
deletions or overwritings). Recreates all of your former good HD,
include bootable.
If you have used a removable (or not) spare HD, kept in a different *room* to
your box, in a hiden place. (Ahá, thieves and hackers! ; ).
I never felt much interest for backup programs, like Norton Ghost) (to avoid
all work to reinstal Win and all my favorite softwares). (Norton Ghost
reinstals all with just a click). (I think I'm losin something and I like
to suffer.....) I never had interest for backup programs
because they can restores only all that you backed up at the time you made the back
up. All (type of manual) backup has this problem: They don't restore
ALL. They exist for us don't lose ALL our work. They don't restore all changes till the
last minute before the crash. You lose all changes among the date of the backup and the
crash. Well, changes in Windows (and all favorite installed programs) are not so
much as those on our main work, but they are even so big.....Although of this I think it's
easier (to fix a corrupted Win) run a backup file than reinstal (and reconfigure)
everything. It's a tedious (and tiring) job to reinstal Win and all softs.
Other reason I think I never felt interest in backup programs is we can't believe
they really do so wonderful job, and because a lot of CDs would be required......(I can't
believe only one CD may contain Win and all softs). Well, a newly installed Win98
has 200 MB. A CD may contain 750 to 800 MB... (This is the reason HD backup is impossible:
F.e., my HD contains today 17 GB of files...)
I think it's a good choice to try Norton Ghost to make a backup to CD....
THE BIG WORK IN WIN REINSTALLATIONS= To acknowldge the value of a backup program, Beyond
of reinstall Win and every favorite software as megafont, Hubi's; Live soundcard; Winamp:
make it use the mp3 icons; Windows Media Player, Directx 8, Vienna, CorelDraw,
PhotoImpact (my powerful image editor), Kazaa, , Nero, WinZip, ScreenThief,
GetRight, Webshots, Xara, etc). Also you need
RECONFIGURE all: Reconfigure a lot of things in Windows: colours, font
sizes, bottoms size, disable password, enable Portuguese ABNT keyboard, fast cursor, etc
etc. In favorite programs: in Forge: colours, plugins with serials; in
Cakewalk: colours, a lot of keyboard shortcuts, etc;
Really there's yet a huge amount of things that's made in a Windows
reinstalation from scratch... We make them because we have no other option...
I can't figure out WHY someone doesn't use Norton Ghost...(Money lack to buy a
second HD).
WHAT someone waits to make a backup of Win and favorite softs? A crash or a Win
corruption? If your Win corrupts (without you save your softs to a HD backup), there's no
other option to do than reinstal Win (from scratch) and all programs with
reconfigurations.... But with Norton Ghost
you reinstal all with just a click.
if you have installed some soft after burn a system backup, reinstall only that soft,( if
it depends on Win System).
Did you always dreamed on a Win reinstallation program that keeps also all your
favorite installed programs and custom configurations? (Yes!) Norton
Ghost is this miracle. Are you tired to reinstal (and reconfigure)
manually Win (and all favorite installed programs)? (Yes!)
Norton Ghost is the answer...
I think it's dificult to backup entire HD to CDs due the size, but would be good a
software to backup Win and favorite softs. How much would be the size of such a backup?
Win has a Backup program inside it. I have tried it once, but without good results.Symantecs Norton Ghost
9.0 provides advanced backup and recovery for your PC in a second HD. Protect your data by
making a backup of your hard drives contentswithout restarting Windows®.
Incremental backups save you time and disk space. You can even schedule backups to run
automatically. Quickly restore individual files, selected folders, or the entire hard
drive. To go to Norton
Ghost official site,
click==> http://www.symantec.com/sabu/ghost/ghost_personal/
To read a review about
HD backup programs, click===> review about HD backup
programs
Maestro Ney.
Nero Burning Rom: In Norton Ghost itsn't possible save a HD image to the same
HD, so it would be better use Nero Burning Rom, that saves to a CD, but Nero restores only
entire HDs, and generally HDs has several GBs of files, and a lot of CDs would be
required, and that task would be too hard, expensive and dangerous, since none can fail in
the sequence...
FREE (not all of which have been tested by this
author)
Oh, can't you pay for? You may get a free cloning utility . Options
include get one from your hard disk manufacturer, and:
Other alternatives (not all of which have been
tested and verified by this author -- use at your own risk) include:
The following alternatives are not recommended (for
the reasons stated above):
- Disk Manager DiskGo!
(Ontrack and various OEM's)
Does not preserve short file names
- DiskWizard
(Seagate)
Appears to be an OEM version of Ontrack DiskGo!
- DriveCopy
(PowerQuest)
This author experienced serious problems (lockups, endless looping) with
versions 2.00 and 2.02
Important Notes:
- Conversion of FAT16 partitions to FAT32 and/or partition resizing
may not be supported by some of these utilities. Be sure to check if you
need these capabilities.
- FAT32 partitions larger than 8 GB with a cluster size
less than 8 KB will cause errors in Disk Defragmenter (Defrag.exe) and ScanDisk
(Scandskw.exe). See Q229154 "Err Msg: Your
Computer Does Not Have Enough Free Memory to Defrag the Drive" and "Scandisk and Defrag give error
messages when used on a new hard drive".
Some Windows backup programs do preserve short file names
when you restore from DOS (sometimes called "emergency restore"); e.g., VERITAS Backup Exec
Desktop Edition (verified by this author for Version 2). Check to be sure! (These same
programs do not preserve short file names when you restore under Windows.)
LFNBK
Another alternative (to save all long file names) is to use
Microsoft's LFNBK utility (included on the Windows 95/98 CD):
- Use LFNBK to remove and save all long file names;
- clone or backup using only short file names;
- and then use LFNBK to restore long file names.
This way the short file names won't change. See "Using the
LFNBK Utility for Temporary Compatibility" in "Administrative
Considerations for Long Filenames". LFNBK for Windows 95 (not Windows 98) can
also be downloaded.
A shareware alternative (not been tested by this
author) to LFNBK is DOSLFNBK.
XCOPY myths
Popular misconceptions:
- The right set of command line switches will make XCOPY/XCOPY32
work properly.
In fact there are no switches that correct this problem. (Note that the /N switch
wipes out long file names.)
- "I used XCOPY/XCOPY32 and didn't have any problems."
See "Why you haven't
heard" above.
- XCOPY32 behaves differently than XCOPY.
In fact Windows 95/98 XCOPY just launches XCOPY32.
This page has been accessed
times since September 26, 1999.
[The Navas Group
home page]
Trademarks belong to their respective owners.
Copyright 1998-2000 The Navas GroupSM,
All Rights Reserved.
Permission is granted to copy for private non-commercial use only.