Creating an ERD from a script

D

Dave Lerner

I did a web search, but couldn't find an answer to this.

I know how to create an ERD (Emergency Repair Disk) using MS Backup. The
problem is that it's a manual process.

I wrote a Perl script that backs up my important files once a day. Instead
of running MS Backup to make an ERD, I'd like to incorporate making an ERD
into that script, including backing up the registry files. The script
wouldn't actually write files to a floppy disk, but it would make a copy of
them that I could archive on an external HD or CD, and I could create a
floppy later if needed, possibly using another computer.

As far as I can tell, the following files are the ones that are needed:

C:\WINNT\repair\autoexec.nt
C:\WINNT\repair\config.nt
C:\WINNT\repair\setup.log

C:\WINNT\system32\config\default
C:\WINNT\system32\config\NTUSER.DAT
C:\WINNT\system32\config\SAM
C:\WINNT\system32\config\SECURITY
C:\WINNT\system32\config\software
C:\WINNT\system32\config\system
C:\WINNT\system32\config\UsrClass.dat

If I had these files backed up, and I needed to perform a repair using the
Win2000 installation CD, I would place the first three files on a floppy
(the ERD), and I would place the remaining seven files in the directory
C:\WINNT\repair\RegBack.

Does this approach make sense?
 
J

Jerold Schulman

I did a web search, but couldn't find an answer to this.

I know how to create an ERD (Emergency Repair Disk) using MS Backup. The
problem is that it's a manual process.

I wrote a Perl script that backs up my important files once a day. Instead
of running MS Backup to make an ERD, I'd like to incorporate making an ERD
into that script, including backing up the registry files. The script
wouldn't actually write files to a floppy disk, but it would make a copy of
them that I could archive on an external HD or CD, and I could create a
floppy later if needed, possibly using another computer.

As far as I can tell, the following files are the ones that are needed:

C:\WINNT\repair\autoexec.nt
C:\WINNT\repair\config.nt
C:\WINNT\repair\setup.log

C:\WINNT\system32\config\default
C:\WINNT\system32\config\NTUSER.DAT
C:\WINNT\system32\config\SAM
C:\WINNT\system32\config\SECURITY
C:\WINNT\system32\config\software
C:\WINNT\system32\config\system
C:\WINNT\system32\config\UsrClass.dat

If I had these files backed up, and I needed to perform a repair using the
Win2000 installation CD, I would place the first three files on a floppy
(the ERD), and I would place the remaining seven files in the directory
C:\WINNT\repair\RegBack.

Does this approach make sense?
Yes.

See tip 7310 in the 'Tips & Tricks' at http://www.jsiinc.com and links.

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
D

Dave Lerner

in message
Yes.

See tip 7310 in the 'Tips & Tricks' at http://www.jsiinc.com and links.

Thanks. Your 'Tips & Tricks" provide the information I was looking for.
But after reading all the linked articles, it looks like it might be more
complicated than I thought. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top