You can restore an SSD to close to factory state, by using a Secure Erase
command.
Then, copy over the data. Things not removed by Secure Erase, are records
of
bad blocks, or of the wear state (percentage of wear). Those should be
properly
preserved (as part of the lifetime state of the SSD). But in terms of
tracking
state of usage, all the blocks should go back in the pool of available
blocks.
This is not the same thing as a Format, and the side effects are entirely
different with an SSD (as it causes the pool of available blocks to be
properly populated). Just writing zeros over the entire drive, is not
the same thing. I couldn't use "dd if=/dev/zero" to simulate a Secure
Erase.
http://forums.overclockersclub.com/index.php?showtopic=184250
An actual Secure Erase utility is available here. It will issue the
single ATA/ATAPI command, to tell the drive to erase itself. One of the
staff here, helped prepare the Secure Erase option as a proposal to
the standards committee. Secure Erase was originally added to IDE and
SATA drives. And apparently, is not available on SCSI, although that
could certainly change with time (SCSI has its own standards). Support
for that function, in an SSD, should exist as the SSD also has
to adhere to some version of ATA spec.
http://cmrr.ucsd.edu/people/Hughes/SecureErase.shtml
Rather than just use the utility, you should also read their documentation
as well. It's important to understand how it works, and what roadblocks
you can run into (disk password handling). If you set a password on the
drive, as part of the procedure, use a pen and write the password
on the drive exterior.
Now that the drive is Secure Erased, you can think about doing the
restore.
When you restore from backup, you'll be doing write operations. I don't
think there would be a reason to be issuing TRIM while that is happening,
so TRIM support shouldn't matter during the restoration. Once you're
booted
into the restored OS, then TRIM support could matter, in terms of
effective garbage collection. If the restoration was .vhd based, only
the sectors holding data need be written back, and no unnecessary writes
should result. So the Windows 7 System Image, as an example, should be
100% efficient during restoration. I can't vouch for any other
kinds of restore (such as NTBackup perhaps). Macrium Reflect, as far
as I know, works the same as Windows 7. And it helps, if the setup
has the proper alignment (which is supposedly a given, with Windows 7,
but not likely to be true with WinXP, with exceptions). If you just
installed WinXP on an SSD, without any considerations at all for
alignment,
that's not going to work very well in terms of alignment (as WinXP is
CHS based, and aligns to 63 sectors). There are tools and ways to fix
that,
which you should have done, before backing up the drive.
Much has been written about the care and feeding of SSDs, and we really
shouldn't need to write anything more about it. There are tutorials out
there. It's a *lot* of work to read all of them, but all part of
owning an SSD and taking care of it.
I don't own an SSD, which is why I have no particular need of the
knowledge
right now.
I've only tested Secure Erase on a hard drive here, and didn't have a
problem using the CMRR utility. The disk worked afterwards. The only
thing wrong with my experiment, was I wasn't around to witness exactly
when the command completed. So I don't know how close to maximum writing
speed it is. (The command runs completely inside the drive, and the CPU
on the computer has nothing to do about it. What I wanted to know, is
if the disk writes at 125MB/sec say, whether the Secure Erase also
runs at 125MB/sec. It should, but I wasn't around to verify the
execution time.)
Paul