# Restoring Plex

**URL:** <https://forums.plex.tv/t/restoring-plex/625473>\
**Category:** Plex Media Server\
**Tags:** server-linux, server-unraid\
**Created:** [August 20, 2020, 8:43am UTC](https://forums.plex.tv/t/restoring-plex/625473 "2020-08-20T08:43:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amateur\_wizard](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/amateur_wizard/32/122818_2.png) [@amateur\_wizard](https://forums.plex.tv/u/amateur_wizard)\
**Post date:** [August 20, 2020, 8:43am UTC](https://forums.plex.tv/t/restoring-plex/625473/1 "2020-08-20T08:43:52Z")

</div>

I have accidentally deleted my Plex server (everything but the media files themselves). The only thing I have left of it is the ‘databaseBackup.db’ file that you can download from the PMS UI.

The examples I’ve seen on restoring from a backup don’t look like what I’m seeing.  
Can I and how do I get back up and running? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [August 20, 2020, 8:20pm UTC](https://forums.plex.tv/t/restoring-plex/625473/2 "2020-08-20T20:20:46Z")

</div>

I suppose you’re out of luck…  
What you need to restore your database is the `com.plexapp.plugins.library.db-[date]` and `com.plexapp.plugins.library.blobs.db-[date]` from `/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases` (+ some of the supporting files mentioned in the linked support article).

> **[Restore a Database Backed Up via 'Scheduled Tasks' | Plex Support](https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/)**
>
> One of the many Scheduled Tasks that a Plex Media Server performs is to make regular backups of the core...

Did you really delete the entire Plex Server’s data folder? No more traces in some trash?  
If you deleted all of those your only chance is a backup you created yourself of that drive.  
If you have none, you’re set to start your server anew.

---

<div class="post-metadata">

**Author:** ![amateur\_wizard](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/amateur_wizard/32/122818_2.png) [@amateur\_wizard](https://forums.plex.tv/u/amateur_wizard)\
**Post date:** [August 20, 2020, 10:35pm UTC](https://forums.plex.tv/t/restoring-plex/625473/3 "2020-08-20T22:35:43Z")

</div>

So what happened was in UnRAID I tried to add a HDD as a cache but it bugged out started telling me that the format of both the NVME and HDD cache was damaged and unmountable. It prompted me to format. I formatted it and it said it again. I knew that something was up after I formatted it for the second time and got no further.  
It was only after I found out online that the solution to be able to start the array was to put the viewable number of cache disks back to 1 that I remembered that the AppData share was set to ‘Prefer’ instead of ‘Yes’. That’s when I knew I f\*\*\*ed up.

TLDR: I only have the database backup from the UI. I thought that it would save me in this eventuality but apparently not. I suppose I am SOL.

---

<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:** [November 18, 2020, 10:35pm UTC](https://forums.plex.tv/t/restoring-plex/625473/4 "2020-11-18T22:35:50Z")

</div>

Closed on November 18, 2020, 10:35pm UTC

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