home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!griffin!kraken!ednstras
- From: ednstras@kraken.itc.gu.edu.au (Michael Strasser)
- Subject: Re: BACKUP's and the Desktop
- Message-ID: <ednstras.711934727@kraken>
- Sender: news@griffin.itc.gu.edu.au
- Nntp-Posting-Host: kraken.itc.gu.edu.au
- Organization: ITC, Griffith University, Brisbane, Australia
- References: <92202.102131BRYAN@wvnvm.wvnet.edu> <23JUL199209384273@vmsb.is.csupomona.edu>
- Date: 23 Jul 92 23:38:47 GMT
- Lines: 53
-
- cvadrtbc@vmsb.is.csupomona.edu (Srikanth Viswanathan) writes:
-
- >In article <92202.102131BRYAN@wvnvm.wvnet.edu>, Jerry Bryan <BRYAN@wvnvm.wvnet.edu> writes...
- >>between the INI files and desktop directories. Remember that INI files
- >>are hard to backup with standard facilities such as BACKUP and COPY because
- >>they are always open. You have to run the backup out of CONFIG.SYS
- >>before they are opened, which in turn means you have to boot to back them
- >>up. I hate to boot when it really is not necessary. The other concern
-
- >You really don't have to. Someone on Fidonet a long time ago, posted
- >this very useful tip for backuping INI files:
-
- >CALL=C:\OS2\XCOPY C:\OS2\*.INI C:\BACKUP\*.INI
-
- This method is also described in the third redbook (on PM and WPS). The
- method given there has
-
- RUN=C:\OS2\XCOPY C:\OS2\OS*.INI C:\OS2\INSTALL\
-
- (Can some please explain the difference between CALL and RUN in CONFIG.SYS?).
- Note that this method overrites the "default" versions of OS2.INI and
- OS2SYS.INI in the \OS2\INSTALL directory, which are put there by the install
- process and used by the ALT-F1 during boot restore process.
-
- BUT BE CAREFUL: If you only have the line in CONFIG.SYS as above and you
- corrupt your INI file(s) without knowing it, next time you re-boot you will
- overwrite your previously OK file(s) with the new, corrupted one!
-
- My preferred solution to this is to have multiple generations of INI
- backups, all duplicated in CONFIG.SYS (note that the redbook solution is to
- make copies of the backups in the \OS2\INSTALL directory in STARTUP.CMD):
-
- RUN=C:\OS2\XCOPY C:\OS2\INSTALL\OS2*.2 C:\OS2\INSTALL\*.3
- RUN=C:\OS2\XCOPY C:\OS2\INSTALL\OS2*.1 C:\OS2\INSTALL\*.2
- RUN=C:\OS2\XCOPY C:\OS2\INSTALL\OS2*.INI C:\OS2\INSTALL\*.1
- RUN=C:\OS2\XCOPY C:\OS2\OS*.INI C:\OS2\INSTALL\
-
- which gives you 3 generations. If you only reboot once from the hard disk
- after corrupting OS2.INI, your backup \OS2\INSTALL\OS2.1 is OK (as are
- generations 2 and 3). You may have disk space limitations, tho'.
-
- To backup the EAs of the desktop directories, EAUTIL is the best option.
- This is the method used by the WPSBkup shareware program which is going
- around at the moment. It also (as a PM app) uses the API calls to copy the
- current INI file states while they are open (the only way to copy them).
-
- I hope this helps a bit.
-
- --
- Mike Strasser Internet: M.Strasser@edn.gu.edu.au.
- Education Division Fidonet: 3:640/308.2@fidonet
- Griffith University
- Brisbane, Australia
-