Description:
BACKUP9 is a simple command line utility designed to maintain a number of backups (9 by default) of a file.
Usage
backup9 [/a] [/e] [/i] [/l#] [/m] [/nologo] [/q] [/s] filespec [target]· Where filespec is a specification of the file(s) that should be backed up, and target is the directory where the backup files should be created.
Switches:
- /a Always perform backup, even if no change since last backup.
- /e Replace the source file's extension instead of appending.
- /i Ignore errors in the file specification.
- /l Number of backup levels, from 1 to 999 (defaults to 9).
- /m Maintain the directory structure. This is only applicable with the /s switch and a target directory.
- /nologo Suppress logo banner.
- /q Quiet mode - no banner or operation status.
- /s Recursively enter subdirectories.
Notes:
- The filespec can contain the wildcard characters, the asterisk (*) and the question mark (?). It can also include multiple files separated by semi-colons.
- If the target directory does not already exist, it will be created. If no target directory is specified, the backup files are created in the same directory as the source file.
- If either the filespec or target parameter contains spaces, it should be enclosed in quotes.
- No backup is made if the file has not changed since the last backup.
- If a file is locked, backup9 will retry up to 10 times over a one second period. This is helpful for files that are sometimes briefly locked, like a database.