### Scheduled tasks on the old system

Windows Task Scheduler is used to schedule ION EnterprisePower Monitoring Expert activities such as database archive, trim, or backup. Any such tasks that exist on the old system need to be manually recreated on the new system if desired.

Any scheduled tasks that exist on the old system need to be manually recreated on the new system if desired. See "Scheduled Jobs in Database Manager" in StruxureWare Power Monitoring help for more information on how to check for scheduled tasks.

Check the Task Scheduler and then note the details of any scheduled tasks that you want to recreate on the new system.

PowerShell

Navigate to `…\config\cfg\DbScheduledTasks\Support\` and then open `Configuration.ps1`.

Note the following PowerShell script file settings:

- `$locationForBackupFiles`
- `$locationForArchiveDBFiles`
- `$archiveDBDaysToKeep`
- `$maximumDatabaseSizeInGigabytes`
- `$databaseSizeNotificationThresholdPercentage`
- `$diagnosticsDaysToKeep` `= 30`

Navigate to `…\config\cfg\DbScheduledTasks\` and then open `Backup.ps1`.

Note the following PowerShell script file settings:

- `$numberOfBackupsToRetain`

Compare these settings later with the settings on the new system.