Type the following on the command line:
BACKTEST -T<MDB|DSA> [-S <Server to back up>] -[B <File to hold backup>] [-R <size of buffer > 8000 bytes>| r | R] [-I ][/HELP or /?]
BACKTEST Parameters
Flag | Settings |
---|---|
-T | Specifies backup type. This parameter should be set to MDB for information store backups and to DSA for directory backups. For example: -T MDB |
-S | Specifies name of the server to be backed up. For example: -S edkdocs20 |
-B | Specifies name of the backup file. |
-R | Specifies the size of the buffer. Users can select a size (always greater than 8000 bytes) or they can select r or R, which randomly selects a size between 0 and cbReadHintSize (defaults to 65536). For example: BACKTEST -T:MDB -B:Output.bak -R:50000 – Or – BACKTEST -T:MDB -B:Output.bak -R:r |
-I | Specifies an incremental backup. Circular file logging must be disabled during incremental backups because they are not compatible. |
/HELP or /? | Displays Help information. |
For both BACKTEST and RESTTEST, flags may be preceded with a slash(/) or a dash(-). There must be a space or a colon after each flag and before its parameters.
Backups can be either incremental or full. Restores can be full or incremental as well, but incremental restores cannot be done on a database until after a full restore has been done. A number of incremental restores may be applied consecutively without a full restore, but they must be done in order. Also, the computer must not be restarted until all the incremental restores have been applied.
Note Selecting a buffer size less than 8000 bytes causes unpredictable results.
Type the following on the command line:
RESTTEST -B <backup file> [-S <server to restore>]
RESTTEST Parameters
Flag | Settings |
---|---|
-B | Specifies backup file. This file should be created with the BACKTEST command. For example: -B backt3 |
-S | Specifies name of the server to be restored. If this flag is not entered, the GetComputerName function is called to provide the name of the server. For example: -S edkdocs20 |