Comments (7)
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.
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.
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.
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.
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.
"PlexAppDataDir": {
"_meta": {
"default": "$env:LOCALAPPDATA\\Plex Media Server"
},
"value": "N:\\Local\\Plex Media Server"
},
from plexbackup.
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)
- issue with backup HOT 5
- Cannot import run-time settings from default configuration file (if any). Invalid JSON primitive: Skip. HOT 1
- Validation error. Backup version does not match HOT 3
- Can't start Plex after backup HOT 6
- After backup completes getting an error when the script attempts to start Plex HOT 3
- Plex Media Server Not Restarting HOT 1
- Email Notification Not Working HOT 2
- Plex Backup Failing-Nothing Changed HOT 16
- question/enhancement HOT 4
- Only receiving the error "Error processing dependencies. You cannot call a method on a null-valued expression." HOT 6
- Fix typo in log message HOT 1
- Add support for PowerShell 7.
- RUNAS ERROR: Unable to run ... 87: The parameter is incorrect. HOT 2
- Plex Backup Fails Through Task Scheduler (Win 10 Pro) HOT 2
- 87: The parameter is incorrect HOT 13
- Create a workaround for the error 87: The parameter is incorrect HOT 1
- Restore didn
- Restore didn't work too well for me HOT 16
- Sub folders not being created by backup process HOT 5
- Add the option to exclude Cache folder HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plexbackup.