One of the beauties of Linux is the simplicity of doing this.
- Stop Plex
- sudo bash
- cd /var/lib/plexmediaserver
- tar cf /home/PlexBackup.tar ./Library ( I presume
/homeis safe & has enough space for this) - Now copy/move “PlexBackup.tar” somewhere safe or directly into the new VM
- Recreate the equivalent existing media mount points into the VM so PMS won’t know or care that you’ve moved it into the VM.
- Install PMS in the VM and immediately stop it
- Restore the tar ball back into the VM’s /var/lib/plexmediaserver
- Confirm everything is chown -R plex:plex
- away you go
You’re effectively cloning the real machine into the VM. ![]()