Back up/ Restore /clone your PMS metadata
Backing up your PMS data involves the same steps you'll need if you were to clone your PMS and take to a new computer, reinstall the operating system, or just want a backup for safe keeping.
- Stop PMS
- Invoke the
- Create the backup image
- Copy the image to the new system, perform your OS reinstallation, or whatever task you need
- -- Stop here if you're only making a backup --
- (Re)install PMS itself if on a new machine
- Start and Stop PMS one time (no interaction with it is required)
- Restore the backup image
- Start PMS
From the command line, making the backup looks like this.
On the source (original) system:
[chuck@lizum ~.74]$ sudo sh sh-4.4# cd /var/lib/plexmediaserver sh-4.4# tar cfz /nas/tmp/PlexBackup.tar.gz ./Library sh-4.4# ls -la /nas/tmp/PlexBackup.tar.gz -rw-r--r--. 1 root root 864050144 Oct 29 15:29 /nas/tmp/PlexBackup.tar.gz sh-4.4#
On the destination (new) system or when restoring :
sh-4.4# sudo sh sh-4.4# systemctl start plexmediaserver sh-4.4# systemctl stop plexmediaserver sh-4.4# cd /var/lib/plexmediaserver sh-4.4# rm -rf Library sh-4.4# tar xf /nas/tmp/PlexBackup.tar.gz sh-4.4# chown -R plex:plex ./Library sh-4.4# systemctl start plexmediaserver
Please DISABLE Verbose logging until requested
Please search before posting
Primary support: Linux, Synology, and QNAP
Please remember to report back. This benefits others.
Hosts: Fedora, QNAP, Synology, most Linux distros in VM
No technical support via PM unless offered
Please remember to mark the appropriate answer(s) which solved your issue.