home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / bar2_14.zip / bar.HLP (.txt) < prev    next >
OS/2 Help File  |  1994-06-26  |  22KB  |  477 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Overview ΓòÉΓòÉΓòÉ
  3.  
  4. BaR  is a PM-based front end for OS/2's backup and restore utilities. 
  5.  
  6. Its purpose is to simplify the process of backing up your files/data to 
  7. floppies by allowing you to create what are called profiles. 
  8.  
  9. For help on the window objects, refer to the Creating/Configuring BaR topic. 
  10.  
  11.  
  12. ΓòÉΓòÉΓòÉ 2. Using BaR ΓòÉΓòÉΓòÉ
  13.  
  14. This section explains how to configure and use BaR. 
  15.  
  16.  
  17. ΓòÉΓòÉΓòÉ 2.1. Creating/Configuring Profiles ΓòÉΓòÉΓòÉ
  18.  
  19. When you first launch BaR, you are presented with a blank window with a series 
  20. of raised icons along the top of the window and a series of embedded icons 
  21. along the right-hand side. 
  22.  
  23. The top icons are pushbuttons and they serve the following functions: 
  24.  
  25.  creates a new parent profile. 
  26.  
  27.  edits and/or deletes log files created by backup.exe. 
  28.  
  29.  configures the INI file backup feature. 
  30.  
  31.  exits BaR. 
  32.  
  33. The embedded icons along the right-hand side serve the following functions: 
  34.  
  35.  backs up the child profile dragged on to it or all of the children if the 
  36. parent profile is dragged here. 
  37.  
  38. restores only child profiles, i.e. parents cannot be dragged here. 
  39.  
  40.  opens the backup parameters notebook for the dragged child profile. 
  41.  
  42.  creates a child profile beneath the dragged parent profile and opens the 
  43. backup parameters notebook. 
  44.  
  45. deletes the dragged child profile or all of the children if a parent is dragged 
  46. here. 
  47.  
  48.  provides information on the family, regardless of whether a child or parent 
  49. profile is dragged. 
  50.  
  51. You first begin by creating a parent profile, beneath which actual 
  52. backup/restore profiles will be defined.  The advantage of this is that you can 
  53. group similar (or dissimilar) backup sessions beneath one parent, for e.g. 
  54.  
  55.    Documents
  56.       c:\notes\*.*
  57.       d:\misc\letters\*.*
  58.       e:\general\reports\*.*
  59.  
  60.  
  61. ΓòÉΓòÉΓòÉ 2.2. Deleting Profiles ΓòÉΓòÉΓòÉ
  62.  
  63. You can delete a parent profile and/or its children in one of two ways: 
  64.  
  65.  1. Select the parent or child, right-click, and click Delete selected... 
  66.  
  67.  2. Drag the parent or child to the trashcan. 
  68.  
  69. Deleting a parent profile deletes all of its children as well. 
  70.  
  71. Note:  You are first required to confirm the deletion before the child or 
  72. family is actually removed from bar.ini. 
  73.  
  74.  
  75. ΓòÉΓòÉΓòÉ 2.3. Renaming Profiles ΓòÉΓòÉΓòÉ
  76.  
  77. To rename a child or parent profile, press and hold the Alt key and left-click 
  78. on the name you would like to change.  Click anywhere on the container to 
  79. accept the change or press Esc to abort. 
  80.  
  81.  
  82. ΓòÉΓòÉΓòÉ 2.4. Moving Child-Profiles ΓòÉΓòÉΓòÉ
  83.  
  84. To move a child profile from one parent to another, click on it and drag it to 
  85. the new parent. 
  86.  
  87. Note:  For the move to be successful, the child must be dropped on the new 
  88. parent's name, as opposed to one of its children. 
  89.  
  90.  
  91. ΓòÉΓòÉΓòÉ 2.5. Viewing Information ΓòÉΓòÉΓòÉ
  92.  
  93. To view information concerning a specific family - parent creation date and 
  94. time; the last backup date and time and expired days for each child - drag the 
  95. parent or child to the information icon. 
  96.  
  97. Note:  If you backed up all the children by dragging the parent to the backup 
  98. icon, only the last child in the family tree will contain the date/time 
  99. information. 
  100.  
  101.  
  102. ΓòÉΓòÉΓòÉ 2.6. Working with Archive Attributes ΓòÉΓòÉΓòÉ
  103.  
  104. If you select the Modified backup option in the General page of the backup 
  105. parameters notebook, you will be prompted when you backup the child profile if 
  106. you would like to set/clear the archive attributes manually.  Selecting Yes 
  107. displays a window where you can set and/or clear the attributes. 
  108.  
  109. Note:  If more than one child profile has this option checked, each will have 
  110. its own Attributes window with the child's name in the title bar. 
  111.  
  112.  
  113. ΓòÉΓòÉΓòÉ 2.7. The File Exclusion Window ΓòÉΓòÉΓòÉ
  114.  
  115. A small window appears alongside the main BaR  window. The list box contains 
  116. the extension of files you would like OS/2's backup to ignore, such as BAK, 
  117. TMP, and TXT files, for example.  To add to this list, right click on the list 
  118. box and choose the Add...  menu item.  To delete an entry, select it, 
  119. right-click, then choose Delete. 
  120.  
  121.  
  122. ΓòÉΓòÉΓòÉ 2.8. Working with Logs ΓòÉΓòÉΓòÉ
  123.  
  124. If you chose to have OS/2's backup log the backup process to file, a file which 
  125. you name will be created in BaR's own directory.  If you want to 
  126. view/edit/delete a file, click on the Log file pushbutton.  A listbox will 
  127. appear in which all of the files in the directory with the extension .LOG will 
  128. appear.  To edit a file, double click on it, or select the file, right-click, 
  129. then choose the Edit menu item.  To delete a file, select it, right-click, and 
  130. choose Delete.  To exit the window, either double-click on the system menu or 
  131. right-click and select Exit. 
  132.  
  133.  
  134. ΓòÉΓòÉΓòÉ 2.9. Backing Up ΓòÉΓòÉΓòÉ
  135.  
  136. To backup files to floppies, drag either an individual child or parent profile 
  137. to the backup icon.  You can also select it and press CTRL+B. 
  138.  
  139.  
  140. ΓòÉΓòÉΓòÉ 2.10. Backing Up INI Files ΓòÉΓòÉΓòÉ
  141.  
  142. BaR is equipped with an, admittedly, crude INI file backup.  What this 
  143. essentially does is copy the user-selected .INIs to an equivalent directory 
  144. structure beneath BaR's own directory.  For example, 
  145.  
  146.    D:\BIN\BAR\
  147.       |
  148.       |____Drive_C\
  149.       |    |
  150.       |    |____OS2\
  151.       |         |
  152.       |         |____OS2.INI
  153.       |         |____OS2SYS.INI
  154.       |
  155.       |____Drive_D\
  156.       |    |
  157.       |    |____OS2\WINOS2\
  158.       |    |    |
  159.       |    |    |____WIN.INI
  160.       |    |    |____SYSTEM.INI
  161.  
  162. The INI backup facility is intended to take the bother out of backing up 
  163. crucial INI files by doing it for you every xth time you launch BaR. 
  164.  
  165. To enable this feature, you first click on the INI pushbutton to invoke the 
  166. preliminary setup window.  Here you enable the INI backup feature by checking 
  167. the Enable INI backup feature checkbox and selecting a frequency, from 1 to 9, 
  168. which represents which invocation of BaR the INI backup should take place.  For 
  169. example, selecting 2 means that every second invocation of BaR will backup the 
  170. selected .INI files. 
  171.  
  172. Once you have enabled the INI backup feature, click on the Files... button to 
  173. invoke a window in which all of the .INI files found on your system appear. 
  174. Select those you would like BaR to backup and click Save.  To scan the 
  175. available drives, click Scan.  To select non-INI files, click Other.  To delete 
  176. items from the list, select them and click Delete.  Once you are satisfied with 
  177. the list of files, click Save, which dismisses the INI File List window.  To 
  178. save the INI backup feature settings, click on the Save button in the INI 
  179. Backup Setting dialog box. 
  180.  
  181. Note:  BaR doesn't actually backup your INI files.  It simply copies them to an 
  182. identical directory structure beneath its own directory, the root of each drive 
  183. being Drive_C, etc. Because BaR attempts to maintain directory and file names, 
  184. if you are backing INI files from an HPFS drive or partition, be sure to 
  185. install BaR on a similar drive or partition.  I'm not sure what will happen if 
  186. you try to copy HPFS directory and/or file names to a FAT-formatted drive or 
  187. partition, but I am almost positive the results will be less than satisfactory 
  188. if either does not conform to the 8.3 DOS limitation. 
  189.  
  190.  
  191. ΓòÉΓòÉΓòÉ 2.11. Restoring ΓòÉΓòÉΓòÉ
  192.  
  193. To restore files from floppies, drag a child profile to the restore icon. 
  194. Select the restore options from the window, and press Restore.  To display the 
  195. files which would be restored, press the Display pushbutton. 
  196.  
  197. Note:  You cannot drag a parent to the Restore icon to restore the entire 
  198. family. 
  199.  
  200.  
  201. ΓòÉΓòÉΓòÉ 3. Backup Options ΓòÉΓòÉΓòÉ
  202.  
  203. This section describes the various options available when creating child 
  204. profiles. 
  205.  
  206. The titlebar of the notebook contains the parent name and the child, separated 
  207. by a '+' character, e.g. Documents + Notes. 
  208.  
  209. To save the parameters for the newly-created child profile, click on the Save 
  210. pushbutton.  To abandon the profile, click on Discard. 
  211.  
  212. The backup notebook contains five pages: 
  213.  
  214.  1. Directory 
  215.  2. General 
  216.  3. Drive 
  217.  4. Log 
  218.  5. Date/Time 
  219.  
  220.  
  221. ΓòÉΓòÉΓòÉ 3.1. Directory ΓòÉΓòÉΓòÉ
  222.  
  223. The Directory notebook page contains a list of files and directories for the 
  224. current drive.  To select the backup directory, double click on a folder within 
  225. the Directories container. 
  226.  
  227. Note:  Filenames are included in the container to make it easier to see what 
  228. exactly you will be backing up. 
  229.  
  230.  
  231. ΓòÉΓòÉΓòÉ 3.2. General ΓòÉΓòÉΓòÉ
  232.  
  233. The General notebook page contains general backup parameters. 
  234.  
  235. Append files to previous backup
  236.           appends the backup to previous backups, useful for incremental child 
  237.           backups, for example. 
  238.  
  239. Apply file exclusion
  240.           excludes the files with the extension you specify in the File 
  241.           Exclusion Window. 
  242.  
  243. Backup only modified files
  244.           backs up only files with the archive attribute cleared.  On 
  245.           setting/clearing archive attributes, refer to the Working with 
  246.           Attributes topic. 
  247.  
  248. Backup    subdirectories
  249.           backs up the files recursively. 
  250.  
  251. File      mask
  252.           backs up only the files matching the specified file mask. 
  253.  
  254.  
  255. ΓòÉΓòÉΓòÉ 3.3. Drive ΓòÉΓòÉΓòÉ
  256.  
  257. The Drive notebook page contains options specific to the floppy diskette drive. 
  258.  
  259. Select one of two diskette drives to which data should be backed up.  These 
  260. are: 
  261.  
  262.           backs up to drive A: 
  263.           backs up to drive B: <default> 
  264.  
  265. If you want backup.exe to format unformatted diskettes first, check the Format 
  266. diskette(s) first checkbox and move the slider to the media format. 
  267.  
  268. Note:  It is not necessary to have the slider reflect the media format if you 
  269. have not checked the Format diskette(s) first  checkbox. 
  270.  
  271.  
  272. ΓòÉΓòÉΓòÉ 3.4. Log ΓòÉΓòÉΓòÉ
  273.  
  274. The Log notebook page contains options specific to the logfile created by 
  275. backup.exe. 
  276.  
  277. Log backup to file 
  278.           when checked instructs backup.exe to keep a log file of the backup 
  279.           process. 
  280.  
  281. Overwrite previous log 
  282.           instructs BaR to delete a previous log file for the current child or 
  283.           parent (if applicable).  This is the default. 
  284.  
  285. Append to previous log 
  286.           instructs BaR to keep the current log file.  The new backup process 
  287.           will be appended to the end of the file. 
  288.  
  289.  
  290. ΓòÉΓòÉΓòÉ 3.5. Date/Time ΓòÉΓòÉΓòÉ
  291.  
  292. The Date/Time notebook page contains options specific to date/time backup 
  293. restrictions. 
  294.  
  295. Backup files since date 
  296.           instructs BaR to backup only those files which have changed since the 
  297.           date you specify. 
  298.  
  299. Backup files since time 
  300.           instructs BaR to backup only those files which have changed since the 
  301.           time you specify. 
  302.  
  303.  
  304. ΓòÉΓòÉΓòÉ 4. Restore Options ΓòÉΓòÉΓòÉ
  305.  
  306. This section contains information on the available Restore options. 
  307.  
  308. There are five sections to the Restore Options dialog box: 
  309.  
  310.  1. Profile Information 
  311.  2. General 
  312.  3. Before Date/Time 
  313.  4. After Date/Time 
  314.  5. Drive 
  315.  
  316. To begin the restoration process, click on the Restore pushbutton. 
  317.  
  318. To display the files that would be restored without actually restoring them, 
  319. click on the Display button. 
  320.  
  321.  
  322. ΓòÉΓòÉΓòÉ 4.1. Profile Information ΓòÉΓòÉΓòÉ
  323.  
  324. The Profile Information groupbox contains information specific to the current 
  325. restore: 
  326.  
  327. Name      is the name of the profile to be restored. 
  328.  
  329. Path      is the target directory to which the files will be restored. 
  330.  
  331. File mask is the file mask to be used on the files to be restored. 
  332.  
  333.  
  334. ΓòÉΓòÉΓòÉ 4.2. General ΓòÉΓòÉΓòÉ
  335.  
  336. The General groupbox specifies general restore parameters: 
  337.  
  338. Permission requests permission from the user before restoring any files that 
  339.           have changed or are no longer on the target drive. 
  340.  
  341. Modified  restores only those files whose archive attribute is cleared. 
  342.  
  343. Non-existant restores only those files that are no longer found in the target 
  344.           directory. 
  345.  
  346. Fail      instructs restore.exe to fail if the target does not support extended 
  347.           attributes and the source file contains extended attributes. 
  348.  
  349. Recursive instructs restore.exe to restore files recursively. 
  350.  
  351.  
  352. ΓòÉΓòÉΓòÉ 4.3. Before Date/Time ΓòÉΓòÉΓòÉ
  353.  
  354. The Before (xx-yy-zz) / (hh:mm:ss) groupbox specifies the date  and/or time 
  355. parameters for restoration of files modified on or before the specified date 
  356. and/or time. 
  357.  
  358.  
  359. ΓòÉΓòÉΓòÉ 4.4. After Date/Time ΓòÉΓòÉΓòÉ
  360.  
  361. The After (xx-yy-zz) / (hh:mm:ss) groupbox specifies the date and/or time 
  362. parameters for restoration of files modified on or after the specified date 
  363. and/or time. 
  364.  
  365.  
  366. ΓòÉΓòÉΓòÉ 4.5. Drive ΓòÉΓòÉΓòÉ
  367.  
  368. The Drive groupbox specifies the source drive for the restoration process. 
  369.  
  370.  
  371. ΓòÉΓòÉΓòÉ 5. Trouble Shooting ΓòÉΓòÉΓòÉ
  372.  
  373. Should you find that Profile names do not correspond to backup options, you can 
  374. do one of two things.  Either delete the BaR.INI file and start over, or edit 
  375. the INI file manually.  BaR.INI conforms to standard OS/2 (c) INI files, but 
  376. the data is written to the file in ascii format.  The basic structure is: 
  377.  
  378.    [BaR]
  379.       BaR_Dir = e.g. D:\USR\BaR\BaR.INI
  380.       INIOptions = Yes|No x where x
  381.                    is a number from 1 to 9
  382.       Exclude = e.g. BAK !!! TMP
  383.       Invocation = is a BaR invocation count used for INI backups
  384.       DateFormat = xx-yy-zz where x, y, z represent the system
  385.                    dependent format
  386.  
  387.    [Parent-ProfileName]
  388.       CreationDate = date time (of when the parent was created)
  389.       Child-ProfileName = backup parameters (see below)
  390.       Child-ProfileName__DateTime = date time (of when the last
  391.                                     successful backup took place
  392.  
  393.    [INIBackup]
  394.       x = INI file (where x is a sequential number beginning with 1)
  395.  
  396. Backup parameters are written and read in the following order: 
  397.  
  398.    ProfileName = <parameters>
  399.  
  400.    Parameters
  401.       Path      = e.g. C:\*.*
  402.       Drive     = e.g. B:
  403.       Log       = e.g. /L:Profile.log
  404.       Modified  = /M
  405.       Append    = /A
  406.       Recursive = /S
  407.       Format    = e.g. /F:1220
  408.       Date      = e.g. /D:xx-yy-zz
  409.       Time      = e.g. /T:hh:mm:ss
  410.       Exclude   = Exclude_Yes | Exclude_No
  411.       LogFile   = Log_A | Log_O
  412.  
  413. Each option must be separated by a space, and non-selected options are 
  414. represented by the string <none>. Path, Drive, Exclude, and Log File must have 
  415. a valid string, i.e. something other than <none>; otherwise, BaR is likely to 
  416. fail. 
  417.  
  418.  
  419. ΓòÉΓòÉΓòÉ 6. Registration ΓòÉΓòÉΓòÉ
  420.  
  421. BaR Front End is released as freeware, which means that you are not required to 
  422. register if you decide to use this utility. If you feel that BaR offers a 
  423. significant improvement to your daily computing needs and that its author 
  424. should be renumerated, then you can send whatever you like to: 
  425.  
  426.    Paul H. Caron
  427.    c/o Mr. J-P Caron
  428.    A10-420 Westmount Avenue
  429.    Sudbury, Ontario  P3A 5V4
  430.    CANADA
  431.  
  432.  
  433. ΓòÉΓòÉΓòÉ 7. Disclaimer ΓòÉΓòÉΓòÉ
  434.  
  435. This program is supplied with no warranty whatsoever either expressed or 
  436. implied.  Neither its author nor Watcom International can be held directly or 
  437. indirectly responsible for any loss or damage to your data and/or system as a 
  438. result of the use and/or misuse of BaR Front End.  If you decide to continue 
  439. using BaR, you understand that you do so AT YOUR OWN RISK. 
  440.  
  441. All software and documentation is supplied AS IS. 
  442.  
  443.  
  444. ΓòÉΓòÉΓòÉ 8. Copyright ΓòÉΓòÉΓòÉ
  445.  
  446.                       BaR Front End (c) 1994 Paul H. Caron
  447.                            OS/2 (c) IBM International
  448.                         VX-Rexx (c) Watcom International
  449.  
  450.  
  451. ΓòÉΓòÉΓòÉ 9. Contacting the Author ΓòÉΓòÉΓòÉ
  452.  
  453. If you find a bug or have suggestions for improvements, feel free to contact me 
  454. at 
  455.  
  456.   G9026163@mcmail.cis.McMaster.CA. 
  457.  
  458.  
  459. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  460.  
  461.  Profiles are, in a sense, folders in which backup sub-profiles, called child 
  462. profiles, are located.  Each child profile is an actual set of parameters which 
  463. are passed to backup.exe.  Each parent profile may contain any number of 
  464. related or unrelated children. 
  465.  
  466.  
  467. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  468.  
  469.  Because the date format is system dependent, the installation utility 
  470. requested that you specify the date format for your system.  The value you 
  471. selected is used to determine the date sequence which appears above the 
  472. relevant spin buttons, as in the Backup files since date parameter in the 
  473. Date/Time notebook page. 
  474.  
  475. If, for example, your date format was year-month-day, then the string Format 
  476. yy-mm-dd would appear above the spin buttons and you would, necessarily, enter 
  477. a date such as 94-12-01.