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 that is contained in the database may affect system performance. Because of this, BarTender provides maintenance tasks that you can use to archive and/or remove old records from the BarTender System Database. You can run these maintenance tasks by using command line parameters in the System Database Setup application. The syntax of a command line for running the System Database wizard is as follows:

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 that is specified by <path and file name>. If the file that is 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 that is specified by <path and file name>.

/Purge

Purges all data from the system database.

/RunMaintenance

Run the maintenance operations that are configured on the Administration Console Maintenance page.

/Log=<path and file name>

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

/Silent

Hides all status and error messages.

/?
/Help

Displays the help topic that describes how to run the System Database Setup application by using command line parameters.

Related Topics