PMS Server Move Ubuntu Vm to Ubuntu VM

Server Version#: 1.19.4.2935
Player Version#:

Im trying to move my 8 year old plex install to a new VM (both 16042)
Following this guide: https://support.plex.tv/articles/201370363-move-an-install-to-another-system/

First I signout and stop the plex service then run the command
tar -czvf plexbackup.tar.gz /var/lib/plexmediaserver
Then I install the new VM and set the NFS mountpoints /mnt/media (same as old install)
Then I run the command
tar -xzvf plexbackup.tar.gz --overwrite -C /var/lib
After that I run chown -R plex:plex on /var/lib/plexmediaserver
Reboot
Then I open up the webui and login which doesnt show any libraries available
I can add the libraries just fine but in the process I lose 8 years of metadata…

How can i actually move the install without hosing all this valuable info?
Thanks

you can shorten up the paths and make them ‘relative addressing’ instead of overriding hard paths as you are now.

sudo bash
cd /var/lib/plexmediaserver
tar cf /path/to/save/PlexBackup.tar  ./Library

Now, on new VM, (with media mounted same as before)

sudo bash
cd /var/lib/plexmediaserver
rm -rf Library (the one created by install)
tar xf /path/to/PlexBackup.tar

chown -R plex:plex  ./Library

ChuckPa
Thank you, that worked!

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