Hi All,
I just installed the Plex Media Server plugin yesterday, and it worked like a charm. I'm also concerned about easy upgrading. I haven't added my media collection yet. Should I just kill the plugin and set up a jail manually and install it that way? Is that more recommended? It seems there is no easy way to currently upgrade PBIs...
If you backup the Plex Media Folder you can restore it if you need. With snapshots + Replication is so easy...
So it appears plex update does work although depending on the size of your database it can take a long time.
The most recent freenas update has certainly improved this since it took 5-6 hours for me rather then over 12.
Also there been no real issues with the update unlike the last time when it failed over a short period of time.
But just in-case as already mentioned snapshot snapshot snapshot is a must to cover the butt :)
i've got a question regarding plex snapshots: if I create a snapshot of the plex jail, will all my mounted media be shapshot as well at /media in the jail?
if im already snapshotting, say "/mnt/tank/multimediafiles" and that dir is what's mounted inside plex at /media, then i'd have 2 snapshots of the same data, which could make for some interesting recovery scenarios.
All of the Plex database data can be found in:
/mnt/[ZFS_pool_name]/jails/plexmediaserver_1/usr/pbi/plexmediaserver-amd64/plexdata.
There is a subdir named "Plex Media Server" that holds all the metadata, etc that you'd want to back up (it can be quite big depending on your collection. mine's currently 6.7GB). there are a few folders in there (like "cache", "plugin support") that you don't need, but don't hurt to have.
something like this should work for you as cron job:
Code:#!/bin/sh #takes a compressed backup of the plexdata directory via having tar run the dir through bzip2 algorithm tar -cjf /[Path_to_save_plexbackup]/plexdataBKUP.tar.bz2 /mnt/[ZFS_pool_name]/jails/plexmediaserver_1/usr/pbi/plexmediaserver-amd64/plexdata
when you need to restore the database (say after deleting the plex plugin and installing a fresh one), this should work:
Code:tar -xjf /[Path_to_save_plexbackup]/plexdataBKUP.tar.bz2 /mnt/[ZFS_pool_name]/jails/plexmediaserver_1/usr/pbi/plexmediaserver-amd64/plexdata
No the Plex server only comes in 64bit version.
Hi mstinaff,
Thanks for the development on a good plugin! PlexPass Members really appreciate it so we can have the latest version.
But when downloading the PMS_Updater.sh from github and uploading into FreeBSD it just gives error message:
Error: This file was not identified as in PBI format, it might well be corrupt.
Something possibly wrong with the file?
Regards,
Timmel