Running Database Maintenance Using Command Line Parameters

As more information is stored in the BarTender System Database, the database increases in size. In a heavy production environment, the amount of data contained in the database may affect system performance. Because of this, BarTender provides maintenance tasks that allow you to archive and/or remove old records from the BarTender System Database. These maintenance tasks can be run using command line parameters by running the System Database Setup application. The syntax of a command line for running the System Database Wizard is:

SystemDatabaseSetup.exe [Parameters]

There is a space between the "SystemDatabaseSetup.exe" and the first parameter. All parameters begin with a forward slash ( / ).

ClosedAvailable Command Line Parameters

/Backup=<path and file name>

Backs up the system database to the file specified by <path and file name>. If the file specified by <path and file name> cannot be created, the database is backed up to the default location.

/Restore=<path and file name>

Restores the system database from the file specified by <path and file name>.

/Purge

Purges all data from the system database.

/RunMaintenance

Run the maintenance operations configured on Administration Console's Scheduled Maintenance page.

/Log=<path and file name>

Logs all status and error messages to the file specified by <path and file name>.

/Silent

Hides all status and error messages.

/?
/Help

Displays the help topic for running the System Database Setup application using command line parameters.

Related Topics