I have just installed a new Ubuntu Desktop machine and mounted al the needed shares for my Plex Libraries. I now want to move all the Plex Server settings, played statuses and metadata from my old macOS server to my Ubuntu.
I am really new to Ubuntu so I am looking for an easy to follow guide. Can anyone help me out here?
For you, being on a Mac, instead of starting with /var/lib/plexmediaserver/Library
you will alter the directory names / starting points. Otherwise the process is the same.
You will want to go to ~/Library/Application Support
Next, your tar file will reference ā./Plex Media Serverā
When you restore it into the new system, you will go to ā/var/lib/plexmediaserver/Library/Application Supportā
Rename āPlex Media Serverā to āPlex Media Server.oldā
Restore the tar file (tar xf command)
Then continue with the procedure in the How-To for setting ownership and permissions as Iāve detailed.
You will end up with a ā/var/lib/plexmediaserver/Librrary/Application Support/Plex Media Serverā (from your Mac) and ā/var/lib/plexmediaserver/Library/Application Support/Plex Media Server.oldā (unused and to be deleted after youāre up and running.
I donāt use it but if it maintains any similar directory structures between the OSās, I would think the same process might apply. Does their documentation show any of that information?
Hi, since the original post about the backup tar.gz is closed, i will ask my question here. Is it possible to make an automated (crontab for example) to have a daily or weekly fresh backup?
Awesome! If i just enter that in terminal, the job will be created and always run?
Also, could it be a command which saves for example the last three backups and then starts removing the old one? So when I screw something up and find out later, I have some time to fix before a new backup has overwritten the old one?
Iām still running into a little problem, hoping you can help me out!
The following script runs fine on the crontab specified time:
cd /var/lib/plexmediaserver ; tar cfz /mnt/Plex/Plex/Backup-Plex-Ubuntu/PlexBackup-daily.tar.gz ./Library
But this script doesnāt work, though it seems identical to me, except for the paths:
cd /opt/Tautulli ; tar cfz /mnt/Plex/Tautulli/Backup-Tautulli-Ubuntu/TautulliBackup-daily.tar.gz ./Library
My sudo crontab looks like this:
45 8 * * * /mnt/Plex/Tautulli/Backup-Tautulli-Ubuntu/backup-script
45 8 * * * /mnt/Plex/Plex/Backup-Plex-Ubuntu/backup-script
Also when I set the crontab lines on different times, the Tautulli database never backupsā¦
Hello. So I have been following a bunch of these forum posts as well as the guide posted on how to move from system to system. Unfortunately after I began. So I wiped out /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/ directory and transferred over my MacOS ~/Library/Application Support/Plex Media Server/. However I seem to be getting stuck with the plist to XML. I ran putil to make it an xml file and transferred it over to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/ . Though when I start the pms service it is not accessible. So I am assuming it has something to do with the preference file. Is it suppose to be prefrences.xml or Prefrences.xml I have seen it referenced both ways? And is there a template xml file somewhere since I have given up on converting the plist file to xml. This way I can copy over the miniumum needed data
Ah yes I see those values. However I donāt have the the orginal Prefrences.xml file. Is there a place where there is a generic Prefrences.xml example file? Now that I know Prefrences.xml is named correctly, I went to go check the log files to see what is going on that I canāt connect to the Web GUI however I am completely missing the āLogsā Directory. I can move this to a PM if you think that is best. I just figured since I have seen multiple forum posts I must not be the only one who has struggled with this.
There is no āgenericā preferences file other than that which PMS itself writes as you perform the first-run setup. Anything missing will be added. It is always updated when you change preferences as well.
PMS will create the needed directories under Plex Media Server when it starts.
If it doesnāt, we can address that
Ah I figured it out when I looked at the systemctl log. Apparently I forgot to give it ownership of the Application Support Directory. I got everything working. One thing that I was surprised by was that some of the content it showed as it being in the recycle bin, however when I emptyied the trash it didnāt remove them and when I clicked to edit the file, it figured out that the media was actually there and it fixed the preview image to no longer show the trash bin ontop of the cover art.