# Help restoring plex scheduled task database

**URL:** <https://forums.plex.tv/t/help-restoring-plex-scheduled-task-database/227345>\
**Category:** General Discussions\
**Created:** [February 28, 2018, 7:30pm UTC](https://forums.plex.tv/t/help-restoring-plex-scheduled-task-database/227345 "2018-02-28T19:30:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![B3rnie](https://avatars.discourse-cdn.com/v4/letter/b/3d9bf3/32.png) [@B3rnie](https://forums.plex.tv/u/B3rnie)\
**Post date:** [February 28, 2018, 7:30pm UTC](https://forums.plex.tv/t/help-restoring-plex-scheduled-task-database/227345/1 "2018-02-28T19:30:35Z")

</div>

I was manipulating my plex movie libraries and screwed up my database when I repointed my movie collection to my TV collection instead.

I tried to follow the following instructions to restore my database, but unfortunately, when I restored the database, it looked fine (I.e. the way it did before I messed up), but I can’t play media, and if I go to settings, I get a “Server settings are unavailable.”

> **[Restore a Database Backed Up via 'Scheduled Tasks'](https://plexapp.zendesk.com/hc/en-us/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 database, which holds things such as your viewstate information and media matching details.
> ...

I also tried to restor the com.plexapp.plugins.library.blobs.db from the same backup.

I am on ubuntu.

HELP!!!

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [February 28, 2018, 7:37pm UTC](https://forums.plex.tv/t/help-restoring-plex-scheduled-task-database/227345/2 "2018-02-28T19:37:08Z")

</div>

Would need server logs after restarting the server - hopefully you have not disabled debug logging - if you have then would need to edit Preferences.xml

may be permissions are wrong now

See this support article for location of logs  
[https://support.plex.tv/articles/200250417-plex-media-server-log-files/](https://support.plex.tv/articles/200250417-plex-media-server-log-files/)

---

<div class="post-metadata">

**Author:** ![B3rnie](https://avatars.discourse-cdn.com/v4/letter/b/3d9bf3/32.png) [@B3rnie](https://forums.plex.tv/u/B3rnie)\
**Post date:** [February 28, 2018, 7:51pm UTC](https://forums.plex.tv/t/help-restoring-plex-scheduled-task-database/227345/3 "2018-02-28T19:51:27Z")

</div>

You’re right! I forgot that plex uses plex:plex vs user that was used to install!

Changing ownership on the two .db files fixed the issue! Would be good to note that in wiki!

---

<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:** [January 8, 2020, 12:41am UTC](https://forums.plex.tv/t/help-restoring-plex-scheduled-task-database/227345/4 "2020-01-08T00:41:24Z")

</div>


