# \[Solved\] Cannot perform a differential backup for database “XYZ”, because a current database backup does not exist

**URL:** <https://forum.duplicati.com/t/solved-cannot-perform-a-differential-backup-for-database-xyz-because-a-current-database-backup-does-not-exist/12077>\
**Category:** Support\
**Created:** [March 29, 2021, 11:01am UTC](https://forum.duplicati.com/t/solved-cannot-perform-a-differential-backup-for-database-xyz-because-a-current-database-backup-does-not-exist/12077 "2021-03-29T11:01:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bernarddt](https://forum.duplicati.com/user_avatar/forum.duplicati.com/bernarddt/32/5314_2.png) [@bernarddt](https://forum.duplicati.com/u/bernarddt)\
**Post date:** [March 29, 2021, 11:01am UTC](https://forum.duplicati.com/t/solved-cannot-perform-a-differential-backup-for-database-xyz-because-a-current-database-backup-does-not-exist/12077/1 "2021-03-29T11:01:42Z")

</div>

Hi All, I’ve run into this interesting problem and after searching the internet realised that the problem is not very common. But luckily a few sites have reported on the solution, but in the context of other backup solutions.

This problem is not really a Duplicati problem, but Duplicati plays a role in it which causes one to think that Duplicati is at fault.

I’ve got a separate process of backing up Full and Diff copies of my dbs. This process ran fine, until I enabled the VSS (Volume Shadow Copy Service) option in Duplicati.

Even though I’m not using Duplicati to backup my dbs or their files (\*.mdf or \*.ldf), this problem persisted every time I ran ANY backup in Duplicati (that uses the VSS option… in my case all of them).

What would happen is that once I ran the Duplicati backup any previously “Full” backups that was taken of the SQL Server dbs was void, and any Diff backup after this, would always fail with the error:

> “Cannot perform a differential backup for database “XYZ”, because a current database backup does not exist.”

The solution was provided by another site:  
[Cannot perform a differential backup because current backup does not exist](https://sqlbackupandftp.com/blog/cannot-perform-a-differential-backup-database-current-database-backup-exist)

It was also hinted here, but the above article gave the solution as well:  
[CANNOT PERFORM A DIFFERENTIAL BACKUP FOR DATABASE BECAUSE A CURRENT DATABASE BACKUP DOES NOT EXIST](https://www.sqlbackupmaster.com/wordpress/2017/12/04/cannot-perform-a-differential-backup-for-database-because-a-current-database-backup-does-not-exist/)

The solution to this problem is to simply go to “services” and change the option of the “SQL Server VSS Writer” to not start “Automatically” but rather “Manual”. And to also stop it, here is a screenshot of mine, this is before I made these changes:

 ![2021-03-29 12_56_00-pylo-dev1@ad - AnyDesk](https://forum.duplicati.com/uploads/default/original/2X/f/f1ddc449ae91a79e8a39efe086e157cb4fc2a40f.png)

I hope this helps someone in the future as it can easily be seen as a fault or problem in Duplicati. I would also suggest that if possible, Duplicati should “check” this service’s settings and warn the user if it sees that it is set to run Automatically.

Thank you!

---

<div class="post-metadata">

**Author:** ![drwtsn32](https://forum.duplicati.com/user_avatar/forum.duplicati.com/drwtsn32/32/2591_2.png) [@drwtsn32](https://forum.duplicati.com/u/drwtsn32)\
**Post date:** [April 1, 2021, 3:44am UTC](https://forum.duplicati.com/t/solved-cannot-perform-a-differential-backup-for-database-xyz-because-a-current-database-backup-does-not-exist/12077/2 "2021-04-01T03:44:37Z")

</div>

Thanks for sharing!

I have never tried using Duplicati to back up SQL, but this seems like a bug for sure. Duplicati shouldn’t be trying to do any SQL VSS stuff unless you’ve actually selected SQL databases for backup.

---

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [April 2, 2021, 12:46am UTC](https://forum.duplicati.com/t/solved-cannot-perform-a-differential-backup-for-database-xyz-because-a-current-database-backup-does-not-exist/12077/3 "2021-04-02T00:46:27Z")

</div>

> [@bernarddt](#):
>
> I’ve got a separate process of backing up Full and Diff copies of my dbs. This process ran fine, until I enabled the VSS (Volume Shadow Copy Service) option in Duplicati.

[vss-exclude-writers](https://duplicati.readthedocs.io/en/latest/06-advanced-options/#vss-exclude-writers) might offer you some relief. I don’t know this area, so won’t comment on is-it-a-bug.
