Maintaining a Remote BarTender System Database |
The BarTender System Database becomes larger as more information is logged. While you can manage the contents of the BarTender System Database locally using Administration Console's Scheduled Maintenance page, you may, at times, need to perform regular maintenance from a remote source. Additionally, you may need to back up a remote database, or re-index the contents of the database. For these regular tasks, including the removal of old database records, you can use the Maintenance Plan Wizard in SQL Server Management Studio.
In order to use the Maintenance Plan Wizard, you must have SQL Server 2005 Service Pack 2 (SP2) or greater installed. Additionally, verify that the Client Tools component is installed.
To locate the available database maintenance plans, open SQL Server Management Studio, and connect to the server where the remote database resides. Under the SQL Server name in the Object Explorer, expand Management, then Maintenance Plans. Maintenance plans can be scheduled to run regular maintenance tasks on the BarTender System Database, such as performing database backups, or indexing the records in the database.
If a maintenance plan that fits your needs does not exist, you can create a new one using the SQL Server Maintenance Plan Wizard, accessible in the context menu of the Maintenance Plans folder. After running the wizard, you can add additional tasks by modifying an existing maintenance plan.
The following example demonstrates how to modify an existing maintenance plan, so that it removes any records in the BarTender System Database that are greater than 5 days old.
To modify a maintenance plan (example)
For additional information on supported SQL scripts and stored procedures, refer to Stored SQL Procedures.