Daily unattended backup of Plex Media Server

Server Version#: 1.18.1.1973
Player Version#: Latest iOS

having put in some much work into the content of my Plex Media Server I would like to make sure I don’t loose all the data for any reason.
so my idea is to setup a backup which runs unattended at night.

therefore I would like to create a script which does the job for me.
-> stop the PMS
-> create a zip/rar for the /library/application support/plex media server directory
-> copy that zip to the backup directory
-> saving the com.plexapp.plexmediaserver.plist to the backup directory
-> restart PMS

has anyone done something like this?
since I’m not any good in scripting, any help and advice is highly appreciated. Thanks.

Is there a reason why you’re not just relying on Time Machine for a full backup of your Mac? Add a 1 TB (or 2 TB) external drive, point Time Machine at it and call it good.

2 Likes

So a TimeMachine Backup will backup all the system, even if it’s running in a way that you can restore all of it? I thought the DB’s have to be closed to have a reliable backup.

Thanks for your help.

Plex will do proper backups of its database as well, stored locally, so no need to worry about “open databases”.

See these support articles:

Ok, i will give it a try. Thanks

1 Like

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