davidjmorin

plex backup

Sep 23rd, 2020
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. Regarding making a backup of your PMS metadata, in Linux, the simplest and perfect backup you can make is
  2.  
  3. Copy to clipboard
  4. sudo sh
  5. cd /var/lib/plexmediaserver
  6. tar cf /where/to/save/backup/Library.tar ./Library
  7. When complete, Library.tar will have the full backup image of your files.
  8.  
  9. Should you later need to restore it., you only need to stop PMS and do the following
  10.  
  11. Copy to clipboard
  12. sudo sh
  13. cd /var/lib/plexmediaserver
  14. rm -rf Library # remove anything which pre-exists
  15. tar xf /path/to/saved/Librar.tar
  16. chown -R plex:plex ./Library
  17. Then start PMS.
Advertisement
Add Comment
Please, Sign In to add comment