
                  Effective and Safe Backups Under Windows 95

                   Using Your  Existing Backup Utility Software
                  Copyright  1995 Backyard Software Systems, Inc.


         Backup With Software That Doesn't Support Long File Names!
                                        By Paul Williamson

  Problem:	You need to replace the C: drive, which contains
                Windows 95 without having to reinstall the operating
                system.

  Problem:	You have an older, unsupported by Windows 95, tape
                            backup system and/or software.
  Solution:	Use the LFNBK.EXE program provided with Windows 95
                            and your existing backup software.



 One of the biggest advantages of using Windows 95 is the ability to
 create file and directory names that mean something by using Long File
 Names, or LFNs for short.  However, the use of LFNs has created an
 unwanted dilemma as a by-product.  Successful back up and restore of
 files when using Windows 95 is presently not an option!  To completely
 and safely back up and restore any and all files with or without Long
 File Names, without using the backup utility within Windows 95, follow
 the steps below.  I know this works because I had to change my C: drive
 to a larger size.  Doing the backup and restore from Windows 95 was not
 possible because one must boot from a floppy to be able to back up and
 restore the C: drive.  I was, therefore forced into using my DOS backup
 utility, BackIt 4, from Gazelle. Since then, I have replaced the C:
 drive on four other Windows 95 systems, using this same procedure,
 without any difficulty.

 Of the many people I contacted, including Microsoft representatives,
 we all agree that the only acceptable method is to exit, or boot  to
 DOS, backup the Long File Names, backup the files, and then restore the
 LFNs.  If you are replacing the hard drive, you also need to initialize
 the hard drive, and then restore the files prior to restoring the LFNs.

 Before you start, make sure the disk(s) and contents are in good
 working order. Run ScanDisk or an equivalent utility to ensure the
 integrity of the drive(s) to be backed up.

 If you will be booting from a floppy, use the Start Up Disk that was
 made during the Windows 95 installation.  In case you didn't make one
 then, or your system's configuration has been significantly altered,
 make a new Start Up Disk now.

 The contents of the diskette will contain most of the utilities you
 will need to get started. However, there are some very important files
 that you may want or need to add.  If you have SCSI drives on your
 system, you will need to include the real-mode drivers for them.  This
 also  requires that you have a CONFIG.SYS and/or an AUTOEXEC.BAT file
 on the diskette as well.  In addition to those files that are copied to
 the diskette you will also need those suggested for recovery purposes
 which are listed on page 182 of the Microsoft Windows 95 Resource Kit.
 The following files have proven to be extremely useful and should be
 available on the floppy as well:

 1.  Compression/Decompression software, e.g., PKZIP and PKUNZIP
 2.  XCOPY32.EXE
 3.  CHKDSK.EXE
 4   DEBUG.EXE
 5.  HIMEM.SYS
 6.  MSCDEX.EXE and CD-ROM drivers if you have a CD-ROM attached
 7.  LFNBK.EXE which is the backup utility for saving Long File Names

 _ LFNBK.EXE can be found  on the Windows 95 installation CD in
 the ADMIN\APPTOOLS\LFNBACK directory.  Review the LFNBK.TXT file,
 located in the same directory for details on the utility and how it works.

 You will also need the backup software.  If you can't run the software
 from a diskette, you may need to make a diskette with just the backup
 software on it so you can restore it first from diskette then access it
 on the hard drive after installing the new drive.

 _ If your C: drive is compressed, be sure to back up the
   uncompressed drive as well as the compressed files.


 PROCEDURE


 I. Ensure that the integrity of the hard disk to be backed up has
 been thoroughly checked, using ScanDisk or similar application.

 II. Turn of Long File Name tunneling.
     A. Right click on the My Computer icon.
     B. Select Properties
     C. Click the Performance tab.

  A.  Click the  File System. button located in the Advanced
      settings section

  B. Click the Troubleshooting tab on File Systems Properties screen.

  C. Select Disable long name preservation for old programs and press the
     Apply button.
  D. Press the OK button twice to exit System Properties.
  E. Reboot the system.

  II. Close all applications that are running.  LFNBK cannot rename open
      files.
  III.Start an MS-DOS windowed session.
   IV.At the DOS prompt, run the LFNBK utility.  The LFNBK.EXE
      and LFNBK.TXT files are located in ADMIN \ APPTOOLS \
      LFNBACK directory on the CD.  If you do not have the CD,
      you can download the utility files from Microsoft's Software
      Library, document S15476.

         A. For each disk to be backed up, enter

             LFNBK /b [<drive>] at the DOS prompt to back up and
             remove long file names.

         B. You may notice that your desktop icons will change to
              short names and probably will move too.  Don't worry about
              this, it is a normal occurrence.

  V.   Exit the DOS window and Shut Down Windows 95.
  VI.  Restart the system in DOS mode either from the Windows 95
       Start Up diskette, a previously prepared boot diskette, or from
       the dual-boot menu option if you installed Windows 95 to
       support dual boot.

 VII.  Run your backups for all the drives you performed LFNBK on
       in step #5 above.  Be sure to back up System and Hidden files
       as well.  Windows 95 makes more use of these attributes than
       did previous operating systems.

VIII. If you just needed to make backups of your drives, and are not
         going to replace the drive at this time, then go to step number 11.

  IX. Remove and replace the hard drive.

       	A. Shut off all power to the system and remove the power cord.
	B. Replace the hard drive.
	C. Restart the system from the Windows 95 Start Up diskette.
	D. Run the FDISK utility, setting partitions as you wish.
           Don't forget to make one of the partitions active so you can
           boot from it.  After exiting FDISK, the system will reboot.
	E. Restart the system from a diskette that allows you to
           restore the backups you previously made.
	F. Restore all the files from your backups to the new C: drive.

    X. Reboot the system and let Windows 95 start.  Don't get upset
       when you see your desktop in disarray, this is to be expected.
       Desktop and Start groups are stored with the long file names.

   XI. Start an MS-DOS windowed session.

  XII. At the DOS prompt, run the LFNBK utility.

        A.  For each disk to be backed up, enter LFNBK /r [<drive>] at the
            DOS prompt to restore long file names.
	B.  You may notice that your desktop will return as it was
            previously.  However, the icon placement on the desktop may
            not be the same.  If so, just rearrange them to your liking.

 XIII. Turn on Long File Name tunneling.
	A. Right click on your My Computer icon.
	B. Select Properties
	C. Click on the Performance tab.
	D. Click on the  File System. button located in the Advanced
                   settings section
	E. Click on the Troubleshooting tab on File Systems
                  Properties screen.
	F. Deselect Disable long name preservation for old programs
                  and press the Apply button.
	G. Press the OK button twice to exit System Properties.

 XIV. Exit the DOS window and Restart Windows 95.

	A. Final Note:  If you replace your C: drive or have to reformat
	   it, the /S option does not properly set up the system files
	   for Windows 95, in particular, the MSDOS.SYS file is not the
	   correct one.  Therefore, to ensure that the proper system files
	   are replaced on the drive during the restore operation, set the
	   Overwrite Existing Files option, or the equivalent, to YES in
	   your tape restore program.


   Paul Williamson is an on site consultant for Chase Manhattan Bank. He is
   a regular contributor to WindoWatch and serves on the Editorial Board.


                                    ww


