# PMS not backing up database

**URL:** <https://forums.plex.tv/t/pms-not-backing-up-database/660142>\
**Category:** Plex Media Server\
**Tags:** server-docker\
**Created:** [December 1, 2020, 2:49pm UTC](https://forums.plex.tv/t/pms-not-backing-up-database/660142 "2020-12-01T14:49:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![WayneBilger](https://avatars.discourse-cdn.com/v4/letter/w/ba8739/32.png) [@WayneBilger](https://forums.plex.tv/u/WayneBilger)\
**Post date:** [December 1, 2020, 2:49pm UTC](https://forums.plex.tv/t/pms-not-backing-up-database/660142/1 "2020-12-01T14:49:29Z")

</div>

Server Version#: 1.21.0.3616 (docker)

My PMS is not backing up com.plexapp.plugins.library.db, I have the location set right in settings as it still backs up com.plexapp.plugins.library.blobs.db, but not the main one.

I upgraded my motherboard and cpu and moved my debian install to an nvme, so the location changed, but don’t think it can be a permission thing as the blobs.db still backs up.

---

<div class="post-metadata">

**Author:** ![pshanew](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pshanew/32/160555_2.png) [@pshanew](https://forums.plex.tv/u/pshanew)\
**Post date:** [December 1, 2020, 6:01pm UTC](https://forums.plex.tv/t/pms-not-backing-up-database/660142/2 "2020-12-01T18:01:28Z")

</div>

I’m not certain if it would prevent your database from being backed up, but you may want to check it for corruption using the steps in this support article:

> **[Repair a Corrupt Database | Plex Support](https://support.plex.tv/articles/201100678-repair-a-corrupt-database/)**
>
> Though rare, it is possible for your main Plex Media Server database to become corrupted. For instance, it might happen...

If their backup process is a simple copy and rename, a corrupt database probably wouldn’t prevent a backup. But if they’re dumping and reconstituting it, it may.

---

<div class="post-metadata">

**Author:** ![WayneBilger](https://avatars.discourse-cdn.com/v4/letter/w/ba8739/32.png) [@WayneBilger](https://forums.plex.tv/u/WayneBilger)\
**Post date:** [December 1, 2020, 7:59pm UTC](https://forums.plex.tv/t/pms-not-backing-up-database/660142/3 "2020-12-01T19:59:56Z")

</div>

Thanks. I did the database checks and it looks like there was corruption, so maybe it is a dump and not a simple copy.  
I will wait until there are no users logged in and then do the repair, and then wait to see if plex backups the file. It backed up the blob.db last night, so not sure if plex backs up every 3 days, or if there are no backups for the db it will backup tonight. I will update here when I know.

---

<div class="post-metadata">

**Author:** ![WayneBilger](https://avatars.discourse-cdn.com/v4/letter/w/ba8739/32.png) [@WayneBilger](https://forums.plex.tv/u/WayneBilger)\
**Post date:** [December 4, 2020, 11:48am UTC](https://forums.plex.tv/t/pms-not-backing-up-database/660142/4 "2020-12-04T11:48:37Z")

</div>

This did work, thanks. Had to wait the full 3 days for plex to do the backup as I did the repair right after the last backup day.  
Makes sense as plex is running when the db is backed up, so you don’t want a straight copy so doing the dump failed with db corruption. Just wish plex would let you know, so you know you have db corruption.

---

<div class="post-metadata">

**Author:** ![pl\_5309](https://avatars.discourse-cdn.com/v4/letter/p/2bfe46/32.png) [@pl\_5309](https://forums.plex.tv/u/pl_5309)\
**Post date:** [December 4, 2020, 11:58am UTC](https://forums.plex.tv/t/pms-not-backing-up-database/660142/5 "2020-12-04T11:58:37Z")

</div>

> [@WayneBilger](#):
>
> Just wish plex would let you know

If you turn on push notifications to your phone it reports on database backup/failure.

Plex needs to be stopped before you can copy/backup/[repair the database](https://support.plex.tv/articles/repair-a-corrupted-database/) files. Their Plex backup is a special case and occurs while running.

---

<div class="post-metadata">

**Author:** ![WayneBilger](https://avatars.discourse-cdn.com/v4/letter/w/ba8739/32.png) [@WayneBilger](https://forums.plex.tv/u/WayneBilger)\
**Post date:** [December 4, 2020, 12:26pm UTC](https://forums.plex.tv/t/pms-not-backing-up-database/660142/6 "2020-12-04T12:26:38Z")

</div>

Yes, I forgot about push notiifications, thanks again.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [March 4, 2021, 12:26pm UTC](https://forums.plex.tv/t/pms-not-backing-up-database/660142/7 "2021-03-04T12:26:44Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
