home *** CD-ROM | disk | FTP | other *** search
- BACKUP
-
- BACKUP is an external command that is used to copy files from a hard disk to
- a backup diskette or another hard disk. The companion command for BACKUP is
- RESTORE.
-
- BACKUP d1:[pathname][filename[.ext]] d2: [/S] [/M] [/A] [/D:date]
- [/F] [/L] [/T:time] [new DOS 3.3]
-
- \___________________________/ \_/
- \source/ \destination
-
- d1:[pathname][filename[.ext]] specify the source file or files to back up.
- Wildcards may be used.
-
- d2: is the destination drive that contains the diskette or hard disk to back
- up to. The destination must be formatted (using the FORMAT command), or
- or the /F option must be used, or BACKUP won't work.
-
- /S causes BACKUP to copy the specified pathname, plus its subdirectories and
- their files to the diskette.
-
- /M restricts the backup to files that have been modified (had the archive flag
- set) since the last backup.
-
- /A appends the backup copies to the destination without destroying any files
- already there.
-
- /D:date restricts the backup to files that have been modified on or after
- the specified date. Date formats are described in the DATE command topic.
-
- /F will format the destination if necessary. This option is usually not
- available in versions of DOS prior to 3.3. On DOS 4.0, this option is
- assumed. When the /F option is available, diskette size can be explicitly
- specified in the format /F:size, where size is the physical capacity. See
- the NEW_TERMS DISKETTE topic for a list of possible sizes.
-
- /L will create or add to a log file named BACKUP.LOG in the root directory of
- the source drive, logging the files backed up. Some versions of DOS will
- allow you to specify the filename in the format /L:[d:][pathname]filename.
-
- /T:time restricts the backup to files that have been modified on or after
- the specified time.
-
- Some versions of BACKUP have more options. These are the (fairly) standard
- ones.