[HELP] -> Question about an Article about moving Plext Database folder

This Article is unclear in one thing to me. You mention specifically in 2. that you stop the Plex Update Service, but not when you turn it on again, or is that only when it automatically starts again after the reboot ? Just want to make sure I dont make any mistake.

Would appreciate any reply on that as soon as possible.
Thank you.

Wolf

P.S: I am sorry if its maybe a stupid question, but i am new to Plex. Thats why I wanna make sure.

It will start again on reboot…

1 Like

Thanks for clarifiyng that. So when I go through this list of things, i dont need to start the Plex service again before my PC is rebooted ?

I wish there would be some simple backup tools for the plex media server. Like a all-in-one backup solution, for example doing that automatically once a week or so. I know there is a sorta backup feature in there, but i always think that if something is built-in, it also possibly is screwed up once the whole Plex is screwed up. Prefer external solutions.

But so far I havent found anything for Plex, I guess there isnt anything.

Anyways, thank you very much for your help. I greatly appreciate it.

Maybe PSA: Script to back up and restore Plex app data on a Windows system is for you?

1 Like

Thank you @alekdavis.

Sounds good. Although I am not sure about the whole configuration. Thats why I love ready-to-run solutions that only need to be installed and anything else done with the help of a GUI. I am not good with “manuals” in the traditional way, for example seeing a Youtube tutorial about something makes me get it working usually pretty fast compared to the text approach. But I assume there is no such tutorial as a video. :wink:

But thanks you anyways, I appreciate the help and will take a look at it. Otherwise I guess i have to find a manual way of copying things, just so I dont screw things up.

The instructions should not be hard to follow (unless your system is messed up, e.g. PowerShell version is too old, security patches are not installed, etc): PlexBackup/GETTING STARTED.md at master · alekdavis/PlexBackup · GitHub. Hey, if you create a YouTube video, other people who do not like to RTFMs may appreciate it. :wink:

1 Like

Some things I sure dont really know how to do, simply also because I dont know anything how Powershell works. Could you or someone help me with that please ?

Blockquote
“PlexAppDataDir”: {
“_meta”: {
“default”: “$env:LOCALAPPDATA\Plex Media Server”
},
“value”: null
},
“BackupRootDir”: {
“value”: null
},
“BackupDirPath”: {
“value”: null
},

Could you please tell me how you would enter certain paths in there ?

“PlexAppDataDir” (which is on my PC on drive H:\plexdatabase2020\Plex Media Server)

How would the path be if I put that into the config ?

Same with the “BackupRootDir” or “BackupDirPath” , what would I need to put in there ?

Every help would be appreciated. Thanks in advance.

Assuming it’s not a typo and your Plex app data folder is actually on the H drive, you would enter it as:

"PlexAppDataDir": {
    "value": "H:\\plexdatabase2020\\Plex Media Server"
}

I have no idea where you want to keep the backups, but let’s assume they should go to G:\PlexBackup. Then the setting would look like:

"BackupRootDir": {
    "value": "G:\\PlexBackup"
}

You should not be setting BackupDirPath at this point, so leave the setting as is.

1 Like

Is there a reason your text (dont mean the path!) is different from the syntax used in the config that comes with the Backup script ?

Blockquote
“PlexAppDataDir”: {
“_meta”: {
“default”: “$env:LOCALAPPDATA\Plex Media Server”
},

Thats the original Syntax.

Yours, even with the path changed…

Blockquote
“PlexAppDataDir”: {
“value”: “H:\plexdatabase2020\Plex Media Server”
}

Just making sure I do it right, since I dont know anything about the whole thing.
Dont want to risk doing some wrong to my Plex Database. :wink:

The _meta element is not needed (it’s just a placeholder for informational things that you may want to use, like description of the setting, default value, examples, etc. You can put whatever you want there. The script will ignore it. The only element that you need is value (and in some rate cases hasValue). But please escape backslashes with another backslash (all of your examples use unescaped backslashes, which will break the code).

1 Like

So instead of all that…

“PlexAppDataDir”: {
“_meta”: {
“default”: “$env:LOCALAPPDATA\Plex Media Server”
},
“value”: null
},

I only need what you copied in there.

“PlexAppDataDir”: {
“value”: “H:\plexdatabase2020\Plex Media Server”
}

As an example. Because thats a lot of more text in there, and for someone who is not familiar with programming or windows powershell syntax, thats quite confusing. Especially since changing that could be necessary, like in my case, when the paths are not standard.

I also noticed all the commas in the original, but then not in yours. Let me guess, its not necessrary either ?

I will now change mine accordingly. Thank you very much @alekdavis :wink:

No, you DO need commas between elements. And you are still not escaping back slashes. Make sure you do.

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