home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / CMDS / dback.lzh / dback.doc < prev    next >
Text File  |  1992-10-24  |  4KB  |  89 lines

  1. ,ll 5.80
  2. ,cs n
  3.  
  4.  
  5. DBACK              SYSTEM MANAGEMENT UTIITY COMMAND                 DBACK
  6. ,ce
  7. backup files to disc
  8.  
  9. SYNTAX:  DBACK [-options] <fromdir> [-options] <todir> [-options]
  10.  
  11. Usage: Dback [-options] <fromdir> <todir> [-options]
  12.      -b=<no>k= copy buffer 
  13.      -d=file = backup selected directory 
  14.      -e      = execute     
  15.      -f=xxx  = omit files suffixed xxx (default:_BAK)
  16.      -k      = omit OS9Boot files 
  17.      -l      = no recursion
  18.      -p      = pause before copying 
  19.      -s=file = start copying at 
  20.      -t=file = terminate copying at 
  21.      -v      = verify   
  22.      -?      = report help 
  23. Defaults 
  24.  source directory (default =  . ) 
  25.  target directory (default = /d0) 
  26.  
  27. DEFAULTS: <Fromdir>, the source directory, defaults to the current directory.
  28.           <Todir>, the target directory, defaults to /d0. 
  29.  
  30. FUNCTION: The program will search the directory <fromdir>, comparing the files and subordinate directories in <fromdir> with those in <todir>.  For all new, or updated files. it will generate copy and makdir commands to copy the files across to <todir>, overwriting any old copies on <todir>.
  31.  
  32.    The program may be used to maintain backup copies of a system, or to assist in rebuilding a system form backups.   As the program will never overwrite a file except by a newer version of itself, it is safer to use than COPY with the -r option.
  33.  
  34. OPTIONS:   The following options are provided:
  35.  
  36.  
  37.      -b=<no>k
  38.   The -b option acts in the same way as it does on the COPY and DSAVE commands.  It specifies the size of the copy buffer.
  39.  
  40.      -d=<file>
  41.   Up to 50 -d options may be entered, each one specifies a directory in <fromdir> which is to be backed up (along with its subordinate directories).  If any -d options are specified, then only those directories specified will be copied from <fromdir>.  If none are specified, then the whole of <fromdir> is backed up.
  42.  
  43.      -e
  44.   The MAKDIR and COPY commands are normally written to the stdout file.  If the -e option is given then the MAKDIR and COPY commands are implemented immediately.   
  45.  
  46.      -f=<suffix>
  47.   Up to 20 -f options maty be entered.  Files ending with <suffix> (default is "_BAK") will not be backed up.
  48.  
  49.      -k
  50.   If the -k option is given, then any files with the name OS9Boot will be omitted from the backup.
  51.  
  52.      -l
  53.   If the -l option is given then no lower level directories are processed, only those specified directly by the <fromdir> and any -d parameters.
  54.  
  55.      -p
  56.   This option is designed for use when the backup is being done as a batch job from a shell script.  If the -p option is specified then the program will ask for confirmation before proceeding with the backup.  If a "PORT" environment variable exists, then that will be used to read the confirmation from.  If no "PORT" environment exists, then the pathname "/TERM" is used. 
  57.  
  58.      -s=file and -t=file
  59.   The -s (start) and -t (termination) parameters allow the user to specify a range of files to be copied.  All files with a pathname (relative to <fromdir>) greater than or equal to the start filename, and less than the termination filename will be copied.  This enables the backing up of dirctories which contain more than a disc full of data.  Only one -s and one -t parameter can be given.  The -s and -t are not allowed with the -d option. 
  60.  
  61.      -v
  62.   This is the same parameter as used in the COPY command, it verifies the copy command.
  63.  
  64.      -?
  65.   This is the normal help utility.
  66.  
  67. EXAMPLE:  The following shows how DBACK may be used to make a script file for a backup job.
  68.  
  69. echo Please load Cmds disc 1
  70. dback -b=20k /h0/CMDS /d1/CMDS -p      -t=e  -e
  71. echo Please load Cmds disc 2
  72. dback -b=20k /h0/CMDS /d1/CMDS -p -s=e -t=q  -e
  73. echo Please load Cmds disc 3
  74. dback -b=20k /h0/CMDS /d1/CMDS -p -s=q       -e
  75.  
  76. echo Please load System disc 1
  77. dback -b=20k /h0 /d1 -p -e -d=PD   -d=PRINTERS    -d=SCULPTOR
  78. echo Please load System disc 2
  79. dback -b=20k /h0 /d1 -p -e -d=DEFS  -d=LIB   -d=MODULES  -d=SYS
  80. dback -b=20k /h0 /d1    -e -n -l
  81.  
  82. Echo Please load User disc 1
  83. dback -b=20k /h0 /d1 -p -e -d=LETTERS -d=CONTRACTS -d=GAMES 
  84. dback -b=20k /h0 /d1    -e -d=INDEX -d=LLYFR -d=MANUALS-d=WHO
  85.  
  86. Echo Please load User disc 2
  87. dback -b=20k /h0 /d1 -p -e -d=SOURCES -d=STY
  88.  
  89.