Backing up DB

Server Version#:
Player Version#:

I have Plex running on a Raspberry Pi running Raspbian. The problem is that the OS got corrupted and I can’t make any network connections. I have got to the stage where I have exhausted troubleshooting, and will just start a fresh build.

Before I do, I have hooked up a monitor and keyboard to try and back-up the database. I had spent quite a bit of time ‘matching’ items, and don’t want to have to go through that again.

In this article I found that the database location for Debian (which Raspbian is based on) is located in:

/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/

I have tried copying the whole of this folder to an external HDD, but keep getting errors that some files could not be copied. I have run the command

sudo service plexmediaserver stop

which has not resolved the issue.

Does anyone have any advice?

  • Include full error message please
  • Are you sure service is actually stopped after you execute the stop command
1 Like
  1. Error opening file blah blah blah Permission Denied

I’m thinking that it could be because the files are owned by the user Plex. I might try a copy using terminal and sudo

  1. I couldn’t be sure that it is stopped. However, I have just spun up a fresh OS on a spare SD card, and inserted the old OS (with Plex on) into the USB port with an adapter, and I am getting the same message, which is making me think even more than it is a permissions issue with the users.

That’ll probably do it

1 Like

Do you think that I will have any permisisons issues to worry about when I restore it to the correct folder on the new OS?

You should check after restoring with ls -al

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