Maintaining a Remote BarTender System Database |
The BarTender System Database becomes larger as more information is logged. Although you can manage the contents of the BarTender System Database locally by using the Administration Console Maintenance page, you might sometimes need to perform regular maintenance from a remote source. Additionally, you might 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.
To use the Maintenance Plan wizard, you must have Microsoft SQL Server 2005 Service Pack 2 (SP2) or a later version of SQL Server installed. Additionally, verify that the Client Tools component is installed.
To locate the available database maintenance plans, open SQL Server Management Studio, and then connect to the server where the remote database resides. Under the SQL Server name in the Object Explorer, expand Management and then Maintenance Plans. You can schedule maintenance plans 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 by using the SQL Server Maintenance Plan wizard, which you can access in the context menu of the Maintenance Plans folder. After you run the wizard, you can add additional tasks by modifying an existing maintenance plan.
The following example describes how to modify an existing maintenance plan so that it removes any records in the BarTender System Database that are older than five days old.
To modify a maintenance plan (example)
For more information about supported SQL scripts and stored procedures, refer to Stored SQL Procedures.