Share via

Sql Server 2019 express edition backups problem

Darryl Hoar 116 Reputation points
2021-04-20T20:44:58.12+00:00

I have created a C# application that uses a Sql Server database. I have Sql Server 2019 express edition installed. The problem I am experiencing is that Sql Server will randomly backup my database many times in a row (think once a minute for several minutes straight). I did not send it a command. I do not have windows 10 scheduler setup to run a job. Nada.

I've looked as hard as I can and cannot figure out what is causing this. I know that Sql Server 2019 Express editon CANNOT schedule backups as it does NOT have the agent by design. The log files don't help.

Any ideas greatly appreciated.

Developer technologies | Transact-SQL
Developer technologies | Transact-SQL

A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories


3 answers

Sort by: Most helpful
  1. CathyJi-MSFT 22,431 Reputation points Microsoft External Staff
    2021-04-21T03:16:27.12+00:00

    Hi @Darryl Hoar ,

    Try to check if you have some third party backup tool backup the database, when you do not have a backup job.

    The software used to perform the backup is recorded in the msdb.dbo.backupmediaset table. Try below T-SQL;

    select software_name from msdb.dbo.backupmediaset  
    

    For standard SQL backups, I get "Microsoft SQL Server".

    > Thanks. I will give this a try. will it work on express edition ?

    Yes.


    If the response is helpful, please click "Accept Answer" and upvote it, thank you.

    Was this answer helpful?

    0 comments No comments

  2. Guoxiong 8,221 Reputation points
    2021-04-21T00:29:38.117+00:00

    If you do not have the scheduled task to generate the backups, you need to make sure there is no any software to perform the backups. The following script will show the details of the backups. That may help you to figure out why.

    SELECT * FROM msdb.dbo.backupset WHERE database_name = 'YOUR_DB_NAME';
    

    Was this answer helpful?


  3. Darryl Hoar 116 Reputation points
    2021-04-20T21:50:27.463+00:00

    It creates the .bak file for the database.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.