Git Product home page Git Product logo

Comments (7)

alekdavis avatar alekdavis commented on June 24, 2024

Hmmm... I'm not sure what you meant by:

The default dir in the script or config file is $env:LOCALAPPDATA\Plex Media Server and I want to change this so it will point to N:\Local\Plex Media Server\Plug-in Support\Databases

Normally, Plex Media Server\Plug-in Support\Databases is a subfolder under the Plex Media Server app data directory. Generally, yes, you can overwrite the default via the PlexAppDataDir parameter (command line or config file), but again, I'm not sure what you're trying to do here. If you said that your Plex app data dir is somewhere else, like N:\Local\Plex Media Server, then it would make more sense. But regardless, in the long term, I'd upgrade the hard drive to something like 256GB, which should be enough for most. It would save you headaches in future (and SSDs are not expensive these days).

from plexbackup.

Wormhole42 avatar Wormhole42 commented on June 24, 2024

Yes that's exactly it. My Plex server media dir is in N:\Local\Plex Media Server and not in $env:LOCALAPPDATA\Plex Media Server as it says in the script of the config file you created. I had to edit the registry for Plex to point to that dir due to storage constraints.
So if I wanted to change $env:LOCALAPPDATA\Plex Media Server to point instead to N:\Local\Plex Media Server, how would I do that? Is that even possible?
In the meantime I will consider getting a bigger SSD for my OS but it will be a pain to reinstall Windows and the Stablebit Drivepool software that needs to be deactivated and reactivated on the new install because of the software license. Once I do get it reinstalled it shouldn't be too difficult to get the drivepool set back up. It will find all of the drives in the pool and remeasure the data but I would want to still at least backup the databases to another drive.
Thank you for answering so quickly. It's much appreciated.

from plexbackup.

alekdavis avatar alekdavis commented on June 24, 2024

Just specify path to your custom directory via the PlexAppDataDir parameter, like

.\PlexBackup.ps1 -PlexAppDataDir "N:\Local\Plex Media Server" ...

Should be simple.

from plexbackup.

Wormhole42 avatar Wormhole42 commented on June 24, 2024

Ok I will try that. I'm running a manual backup right now of the whole Plex Media Server to an external hard drive. I started it last night and it's over 100GB so it's going to take a long time. Once it's done I'll try to modify the config as you suggested and see if it'll compress it and make the backup smaller. I will let you know. Thanks

from plexbackup.

Wormhole42 avatar Wormhole42 commented on June 24, 2024

Will I replace the whole line as you suggested as such?
This is your script
},
"PlexAppDataDir": {
"_meta": {
"default": "$env:LOCALAPPDATA\Plex Media Server"

So I will make it look like this?
},
"PlexAppDataDir": {
"_meta": {
"default": "N:\Local\Plex Media Server"

I tried that initially but it didn't work, but I will try again once this manual backup finishes.
Thanks

from plexbackup.

alekdavis avatar alekdavis commented on June 24, 2024
"PlexAppDataDir": {
    "_meta": {
        "default": "$env:LOCALAPPDATA\\Plex Media Server"
    },
    "value": "N:\\Local\\Plex Media Server"
},

from plexbackup.

Wormhole42 avatar Wormhole42 commented on June 24, 2024

Oh okay. Thanks!
My manual backup took for freaking ever.
So I went ahead and got a 1TB SSD and reinstalled everything. Now I'm in the process of moving the stuff from N: Plex to the default in the users appdata. Hopefully once it's all done moving I'll be able to run your script the way it's supposed to be to another new 1TB SSD I have coming and can just continue to make backups to it in the future. Migrating data takes way too long and this is very annoying. Hopefully when it's all done my server will not need much maintenance in the future.
I appreciate your help though! Thanks so much for your input/help.

from plexbackup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.