Plex Database Backup Location

do Plex make (sym?)link to the old Plex DB backup location when upgrading to the DSM 7 versions?
Just noticed under settings the location is the old Plex folder (not PlexMediaSever) but seems like it have saved some backups? Still looks weird.


Question: Leave it or change it?
(slight typo edit in first line and removed the off topic bit)

I moved your post to a new thread.

The default backup location is the same folder as the database files.

For DSM 7, it is /var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Plug-in Support/Databases.

You can change the location in Settings → Scheduled Tasks. The system internal user PlexMediaServer must have write access to the location.

I’m not sure what happens if you specify a location that does not exist or where PlexMediaServer does not have write access. Plex Media Server may just not make a backup of the database files.

If on your server the specified location does not exist, you should change it to a valid location.

1 Like

Its a weird one. The location do exist as it is the Old Plex folder pre dsm 7, though empty now.
I thought it strange Plex dont give an error (or it might have deep in some log somewhere lol).

Database backups fail silently.

In this case, the entire destination directory structure must exist and be writable by PlexMediaServer.

Symlinks are not recommended in DSM 7. Pathnames and link resolution has changed . ( the isDir('pathname') library call fails when symlinks are used because the symlink itself is not a directory)

A tiny bit silly it “fail silently”.
Noticed a typo in my OP: What i meant was that i wondered if Plex did use (sym)link to the “old” folder (will edit op). Of course after the replies i know Plex dont. (Also why silent fails probably should be an actual error)

“Fail Silently” — In that, by the time you notice the failure, it will have rolled off the end of the Plex Media Server.log.

It’s not 100% silent but there’s no red flag alert either

1 Like

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