# Backup of Plex settings

**URL:** <https://forums.plex.tv/t/backup-of-plex-settings/810111>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [September 9, 2022, 6:23pm UTC](https://forums.plex.tv/t/backup-of-plex-settings/810111 "2022-09-09T18:23:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Annoyed](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@Annoyed](https://forums.plex.tv/u/Annoyed)\
**Post date:** [September 9, 2022, 6:23pm UTC](https://forums.plex.tv/t/backup-of-plex-settings/810111/1 "2022-09-09T18:23:10Z")

</div>

I’ve recently experienced a nasty hardware failure; power supply failed, and apparently took the motherboard/CPU and all 3 hard drives with it.  
I didn’t lose any other data or recorded content in libraries, I know where that is and had it backed up with a cron job to an external storage location.

But I lost all the server settings, programs to record and such.

The docs ( [https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/](https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/) ) indicate /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/ as the location. So, I’ve added /var/lib/plexmediaserver/ to my backup cron job; will be backed up daily along with everything else.

Is there any other location I should back up? My goal is in future rebuilds/crashes/etc to just re-install Plex and then restore that directory from backup. Theoretically, if that’s the only location, I should recover everything.

Are there any other bits and pieces I need to back up?

This is Ubuntu 22.04 LTS, and the most recent public channel server release.

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:** [September 9, 2022, 6:27pm UTC](https://forums.plex.tv/t/backup-of-plex-settings/810111/2 "2022-09-09T18:27:42Z")

</div>

That’s about it – you can skip the `Caches` and `Logs` subfolders. Make sure your server is stopped when backing this folder up. Otherwise you’re at risk of ending up with a corrupted database backup.  
[https://support.plex.tv/articles/201539237-backing-up-plex-media-server-data/](https://support.plex.tv/articles/201539237-backing-up-plex-media-server-data/)

# 

Keep in mind your server will automatically create a backup of your database as part of the scheduled tasks (if enabled). Sometimes it could be enough to backup those files…  
[https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/](https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/)

---

<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:** [December 8, 2022, 6:27pm UTC](https://forums.plex.tv/t/backup-of-plex-settings/810111/3 "2022-12-08T18:27:46Z")

</div>

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