home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / backup / summary.hlp < prev   
Encoding:
Text File  |  1989-01-01  |  2.0 KB  |  47 lines

  1.                              BACKUP
  2.  
  3. BACKUP is an external command that is used to copy files from a hard disk to 
  4. a backup diskette or another hard disk. The companion command for BACKUP is 
  5. RESTORE.
  6.  
  7. BACKUP d1:[pathname][filename[.ext]] d2: [/S] [/M] [/A] [/D:date]
  8.                      [/F] [/L] [/T:time]    [new DOS 3.3]
  9.  
  10.        \___________________________/ \_/
  11.              \source/          \destination
  12.  
  13. d1:[pathname][filename[.ext]] specify the source file or files to back up.
  14.     Wildcards may be used.
  15.  
  16. d2: is the destination drive that contains the diskette or hard disk to back 
  17.     up to. The destination must be formatted (using the FORMAT command), or
  18.     or the /F option must be used, or BACKUP won't work.
  19.  
  20. /S causes BACKUP to copy the specified pathname, plus its subdirectories and 
  21.     their files to the diskette. 
  22.  
  23. /M restricts the backup to files that have been modified (had the archive flag
  24.     set) since the last backup. 
  25.  
  26. /A appends the backup copies to the destination without destroying any files
  27.     already there.
  28.  
  29. /D:date restricts the backup to files that have been modified on or after
  30.     the specified date. Date formats are described in the DATE command topic.
  31.  
  32. /F will format the destination if necessary. This option is usually not
  33.     available in versions of DOS prior to 3.3. On DOS 4.0, this option is
  34.     assumed. When the /F option is available, diskette size can be explicitly
  35.     specified in the format /F:size, where size is the physical capacity. See
  36.     the NEW_TERMS DISKETTE topic for a list of possible sizes.
  37.  
  38. /L will create or add to a log file named BACKUP.LOG in the root directory of 
  39.     the source drive, logging the files backed up. Some versions of DOS will 
  40.     allow you to specify the filename in the format /L:[d:][pathname]filename.
  41.  
  42. /T:time restricts the backup to files that have been modified on or after
  43.     the specified time.
  44.  
  45. Some versions of BACKUP have more options. These are the (fairly) standard 
  46. ones.
  47.