Legacy Exchange command line options

Below is a complete list of the legacy Exchange command line options:

/c – Invokes command line mode.

/n {system share net path} – e.g. \\System2\Samba. If hostname is omitted, the hostname for the primary backup system will be used.

/n{local path} – e.g. C:\backup_folder. Enter the full path, including disk drive, where the Exchange backups will be located. Make certain that this path already exists.

Edit the ExchMaster.bat file to include the /n <full path of directory >.

When connected, save the profile.

/p {profile name} – Allows use of specified profile instead of the default.

/l {logfile} – An additional log file is created.

/m – Sets the backup type as Master. This is the default.

/d – Sets the backup type as Differential.

/l0 – Sets log level to 0, only FATAL errors logged.

/l1 – Sets log level to 1, all ERRORs logged.

/l2 – Sets log level to 2, WARNINGs and ERRORs logged.

/l3 – Sets log level to 3, INFO messages logged. This is the default.

/l4 – Sets log level to 4, DEBUG mode, all messages logged.

/netuser [domain\user] – Allows specification of domain name and user name.

/netpasswd [password] – Allows specification of the network share password.

/h, /? – help

Example: C:\PCBP\EXCHANGE.DIR\BPEXCH.EXE /c /l %TEMP%\bpexch.log

In this example, the Exchange agent (bpexch.exe) is executed in command-line mode (/c). The transaction log is written to the specified log file (%TEMP%\bpexch.log).