Backup myplex and current settings

How would I go about backing up my myplex login and current settings that I have selected in the settings tab so I don’t need to enter this information in every-time I re-install a theme? I imagine its a .pyc or a group of .pyc files but I’m not sure which ones. I know it would be a specific to each theme/github but it would be great to have these when using the same theme consistently.

-> ATVSettings.cfg

You will find settings (including myplex data) for each of the connecting aTVs, based on UDID.

I backed up that file and pasted it back in restarted plexconnect but now its prompting me to enter in my myplex credentials and none of the settings I entered in have been restored to what I had set prior. Im currently using brotusers github as a theme with the plex template not sure if that may be a issue.

>> restarted plexconnect

That file is written during PlexConnect shutdown.

So unless you do a "stop PlexConnect, paste ATVSettings.cfg back, start PlexConnect" your pasted file will get overwritten...

Ok thats what I found out as well, I had not shutdown my instance of plexconnect since cloning it. So I guess in a script I will need to shutdown then copy the atvsettings.cfg file to its backup location then reload plexconnect during backup to be sure it grabs the proper populated file.