IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

App Control: Scheduled Database Backup Was Not Performed

App Control: Scheduled Database Backup Was Not Performed

Environment

  • App Control Server: All Supported Versions
  • Microsoft SQL Server: All Supported Versions

Symptoms

Receive the Alert, "Scheduled database backup was not performed." after enabling the DB backup option

Cause

App Control does not perform any database backups directly. Rather, a request is sent to SQL Server to backup the database.

Resolution

NOTE: The built in Automatic Backup feature within the Console should not be used for environments of more than 100 endpoints. This feature is designed to be used with SQL Server Express only. 
 

  1. Run the following queries and provide the results to Support Team for further analyzing 
    1. First Query
      SELECT @@VERSION as SQLversion
    2. Second Query
      USE das
      SELECT * FROM dbo.scheduled_tasks WITH (NOLOCK) where task like '%ProcessBackupRequest%'
    3. Third Query
      SELECT * FROM dbo.shepherd_configs WITH (NOLOCK) where name in ('DBSchemaVersion','BackupIsLocal','BackupMode','BackupPath','BackupUsername','BackupDomain','LastBackupMissingEvent','BackupStatus')
  1. If xp_cmdshell needs to be enabled the following query can be ran 
    USE das
    exec sp_configure 'show advanced options',1
    RECONFIGURE
    exec sp_configure 'xp_cmdshell',1
    exec sp_configure 'show advanced options',0
    RECONFIGURE
  2. Disable and Enable one more time the backup from Console
  3. Do not turn off the xp_cmdshell, this is needed when the database backup is enabled

Additional Notes

  • The Automatic Backup option in the Console is designed to be used with environments of 100 total Computers or less (SQL Server Express).
  • When using SQL Server Standard or greater the Maintenance Plan feature within SQL Server Management Studio should be used instead.

Related Content


Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎01-06-2021
Views:
735
Contributors