This stored procedure synchronize LiteSpeed Jobs, Maintenance plans or Log Shipping activity and information from LiteSpeed Local to the Central database. Using the procedure the date and time can be defined from which to which date and time the data will be synchronized from the Jobs, Maintenance plans or Log Shipping
NOTE: Run the LiteSpeed_SyncJobs_Stats procedure against the desired Local database that is installed on the SQL Server from which you want to synchronize data to the Central database.LiteSpeed databases (Local and Central) by default are named LiteSpeedLocal and LiteSpeedCentral.
This topic covers:
exec LiteSpeedLocal.dbo.LiteSpeed_SyncJobs_Stats @startDate = '20210517 04:05'
{ @startDate = 'date time' }
or
exec LiteSpeedLocal.dbo.LiteSpeed_SyncJobs_Stats @startDate = '20210517 04:05', @endDate = '20210516 04:04'
{ @startDate = 'date time' | ( @endDate = 'date time' )}
This stored procedure accepts the following arguments:
| Argument | Description |
|---|---|
|
@startDate |
Deletes data older than the date and time specified. The argument accepts the following format: YYYYMMDD HH:MM:SS where
|
|
@endDate |
Deletes data until the date and time specified. The argument accepts the following format: YYYYMMDD HH:MM:SS where
|
Synchronize the following data from the beginning until 08/08/2021 08:00 from the Local to the Central repository:
exec LiteSpeedLocal.dbo.LiteSpeed_SyncJobs_Stats @startDate = '20210808 08:00'
Synchronize the following data from the 04/04/2020 07:15 until 08/08/2021 08:00 from the Local to the Central repository:
exec LiteSpeedLocal.dbo.LiteSpeed_SyncJobs_Stats
@startDate = '20210808 08:00',
@endDate = '20210404 07:15'
In a graphical user interface, right-clicking on a server reveals the option Sync Local and Central Activities.
This option opens the Configure LiteSpeed Local and Central Synchronization dialog, where a user selects Server instances and the option to Sync Jobs, Maintenance plans or Log Shipping activity between local and central repositories. The date range for data synchronization can be selected from the calendar view.