said: 
>Should I include any other files?  Are my options okay? 
This probably good enough for a WPS backup.  Here's the guts of what 
Unimaint does for backup: 
"F:\OS2\ATTRIB.EXE" -S -H "F:\OS2\OS2.INI" 
"F:\OS2\ATTRIB.EXE" -S -H "F:\OS2\OS2SYS.INI" 
IF EXIST "D:\UNIMAINT\BKUP\SYSBIN01.ZIP" ERASE 
"D:\UNIMAINT\BKUP\SYSBIN01.ZIP" IF EXIST "D:\UNIMAINT\BKUP\SYSBDR01.ZIP" 
ERASE "D:\UNIMAINT\BKUP\SYSBDR01.ZIP" IF EXIST 
"D:\UNIMAINT\BKUP\SYSWC01.ZIP" ERASE "D:\UNIMAINT\BKUP\SYSWC01.ZIP" 
"D:\UNIMAINT\ZIP.EXE" "D:\UNIMAINT\BKUP\SYSBIN01" "F:\OS2\OS2.INI" 
"D:\UNIMAINT\ZIP.EXE" "D:\UNIMAINT\BKUP\SYSBIN01" "F:\OS2\OS2SYS.INI" 
"D:\UNIMAINT\ZIP.EXE" -r -S "D:\UNIMAINT\BKUP\SYSBDR01" "F:\Desktop" 
"D:\UNIMAINT\ZIP.EXE" -j "D:\UNIMAINT\BKUP\SYSWC01" "F:\OS2\DLL\DOCK*.CFG" 
"D:\UNIMAINT\ZIP.EXE" -j "D:\UNIMAINT\BKUP\SYSWC01" 
"F:\OS2\DLL\SCENTER.CFG" "D:\UNIMAINT\ZIP.EXE" "D:\UNIMAINT\BKUP\SYSBCK01" 
"D:\UNIMAINT\BKUP\SYSBIN01.ZIP" "D:\UNIMAINT\ZIP.EXE" 
"D:\UNIMAINT\BKUP\SYSBCK01" "D:\UNIMAINT\BKUP\SYSBDR01.ZIP" 
"D:\UNIMAINT\ZIP.EXE" "D:\UNIMAINT\BKUP\SYSBCK01" 
"D:\UNIMAINT\BKUP\SYSWC01.ZIP" ERASE "D:\UNIMAINT\BKUP\SYSWC01.ZIP" 
ERASE "D:\UNIMAINT\BKUP\SYSBIN01.ZIP" 
ERASE "D:\UNIMAINT\BKUP\SYSBDR01.ZIP" 
"F:\OS2\ATTRIB.EXE" +S "F:\OS2\OS2.INI" 
"F:\OS2\ATTRIB.EXE" +S "F:\OS2\OS2SYS.INI" 
and here's what it does for restore: 
"D:\UNIMAINT\INICLEAN.EXE" -i"F:\Desktop" 
IF ERRORLEVEL 0 GOTO CLNGOOD 
ECHO    The IniClean run was not successful, therefore the restore ECHO       
cannot continue. 
ECHO    Check the error message, fix the problem and retry the ECHO       
Restore unless you are sure everything is okay. 
ECHO    If you want to continue, hit Enter, if you want to terminate ECHO       
Hit Ctrl-Break 
PAUSE 
:CLNGOOD 
"F:\OS2\ATTRIB.EXE" -R -S -H "F:\OS2\OS2.INI" 
"F:\OS2\ATTRIB.EXE" -R -S -H "F:\OS2\OS2SYS.INI" 
ERASE "F:\OS2\OS2.INI" 
ERASE "F:\OS2\OS2SYS.INI" 
IF .%1 == . GOTO NOPARM 
"D:\UNIMAINT\UNZIP.EXE" -j "D:\UNIMAINT\BKUP\SYSBCK%1" 
GOTO AFTER 
:NOPARM 
"D:\UNIMAINT\UNZIP.EXE" -j "D:\UNIMAINT\BKUP\SYSBCK01" 
:AFTER 
"D:\UNIMAINT\UNZIP.EXE" -o SYSBIN01 -d F:\ 
"D:\UNIMAINT\UNZIP.EXE" -o SYSBDR01 -d F:\ 
"D:\UNIMAINT\UNZIP.EXE" -o SYSWC01 -d F:\OS2\DLL\ 
IF EXIST SYSWC01.ZIP ERASE SYSWC01.ZIP 
ERASE SYSBIN01.ZIP 
ERASE SYSBDR01.ZIP 
"F:\OS2\ATTRIB.EXE" -R -S -H "F:\OS2\OS2.INI" 
"F:\OS2\ATTRIB.EXE" -R -S -H "F:\OS2\OS2SYS.INI" 
:ENDIT 
For me, Unimaint has only one claim to fame in the area of Desktop 
backups.  I've never had a restore fail.  YMMV. 
I also use the Supplemental Backup to save a variety of other 
configuration files.  Most of these don't change all that often, but I 
find it convenient to have them local rather than on tape if I happen to 
need on.  This backup handles config.sys, startup.cmd, setup.cmd and so 
on. 
There's no way to get zip to store an absolute path.  That's why restore 
scripts use the -d option. 
Steven 
--  
--------------------------------------------------------------------- 
"Steven Levine"   MR2/ICE 2.35 #10183 Warp4/FP15/14.085_W4 
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST) 
--------------------------------------------------------------------- 
===================================================== 
To unsubscribe from this list, send an email message 
to "steward@scoug.com". In the body of the message, 
put the command "unsubscribe scoug-help". 
For problems, contact the list owner at 
"rollin@scoug.com". 
===================================================== 
<< Previous Message << 
 >> Next Message >>
Return to [ 08 | 
April | 
2003 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA  92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group.  ALL RIGHTS 
RESERVED. 
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International 
Business Machines Corporation.
All other trademarks remain the property of their respective owners.