Question Locked

What to backup when deleting a hard drive????

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
What are the folders would backup before you delete your Hard Drive and put a clean copy of XP pro, using XP Pro?

4 replies

by rob miners

Here is a Batch file that could be used to copy your Data to a central location. You could then burn it to CD/DVD with Nero or something similar. Modify it to suit your needs. If you don't want to use something rem it out with :: copy and paste between the ======= into Notepad and save it as bck.cmd. Modify set drive=g:\Backup to suit your needs.

============

@echo off

:: variables

set drive=g:\Backup

set backupcmd=xcopy /s /c /d /e /h /i /r /k /y

echo ### Backing up My Documents...

%backupcmd% "%USERPROFILE%\My Documents" "%drive%\My Documents"

echo ### Backing up Favorites...

%backupcmd% "%USERPROFILE%\Favorites" "%drive%\Favorites"

echo ### Backing up email and address book (Outlook Express)...

%backupcmd% "%USERPROFILE%\Application Data\Microsoft\Address Book" "%drive%\Address Book"

%backupcmd% "%USERPROFILE%\Local Settings\Application Data\Identities" "%drive%\Outlook Express"

echo ### Backing up email and contacts (MS Outlook)...

%backupcmd% "%USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook" "%drive%\Outlook"

echo ### Backing up the Registry...

:: if not exist "%drive%\Registry" mkdir "%drive%\Registry"

:: if exist "%drive%\Registry\regbackup.reg" del "%drive%\Registry\regbackup.reg"

:: regedit /e "%drive%\Registry\regbackup.reg"

:: use below syntax to backup other directories...

:: %backupcmd% "...source directory..." "%drive%\...destination dir..."

echo Backup Complete!

=============

Keep us informed as to your progress if you require further assistance.

If you think that any of these posts that have been made by all TR Members have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome.

by churdoo

So add the following to JH's batch file:

%backupcmd% "%USERPROFILE%\Desktop" "%drive%\Desktop"

I suppose another option may be to use the Files and Settings Transfer Wizard to collect the files and settings from the original O/S to a temporary location.

Though I personally like JH's method versus the wizard -- more control and less black box-ish.

by rob miners

It's not one of my own though, I found it when I was looking for help on backing up to a Folder with the Date as the Folder Name. The one that I use for myself is suped up a bit as I am a creature of habit. ;)

I find the Files and Settings Transfer Wizard cumbersome but it is another alternative. :D

This discussion is closed to new replies.