Comments (25)
For starters, you need to use double backslashes for each backslash in config file, e.g. "value": "\\BackupPlex". Btw, are you intending to use BackupPlex folder at the root of whatever current hard drive would happen to be at the time of running?
from plexbackup.
from plexbackup.
from plexbackup.
Yes, if you have your NAS share permanently mapped to a drive, you can use a drive letter instead of the UNC path. Generally, I'd recommend other media, like a USB flash drive, instead of NASes, because once network gets involved, a whole bunch of things can go wrong. I started doing backup to a NAS, and then just bought a cheap 32HB flash drive and do it locally. This saves time, too, since I can skip the temp folder.
from plexbackup.
Regarding the error, it looks like you either have a corrupted file or something really weird. Could you attach your copy of the PlexBackup.ps1 file? I do not think it's about config file, so we can just put this one aside for a moment.
from plexbackup.
from plexbackup.
You uploaded a bunch of files including two versions of PlexBackup.ps1 and a zip file, which I assume also includes PS scripts. I just need one file that you actually use. Just change the extension from ps1 to txt and upload it here.
from plexbackup.
from plexbackup.
No, not like this. Respond to the message via the Git website and drop the file on to the the comment section so it gets attached to the comment, not inlined.
from plexbackup.
Hi Alik
Is this correct?
PlexBackup.txt
Renamed the filetype of the Plexbackup.ps1 I downloaded from here to a txt and added it (I hope)
Regards
from plexbackup.
There is something wrong with the attached file. Please try downloading the latest release (v2.0.3) and see if it helps.
from plexbackup.
Hi
Is v 2.0.3 the one currently on the Github website?
I just went onto Github, clicked code and downloaded it as a zip file. Unzipped, started power as administrator, ran the backup, prompted me to run it. the error message is slightly different. Now its 319 and 26 (before it was different numbers)
The "=" operator is missing after a named argument.
At C:\Users\Administrator\desktop\PlexBackup-master\plexbackup-master\PlexBackup.ps1:319 char:26
-
[Parameter(Mandatory, <<<< ParameterSetName="ModeType")]
- CategoryInfo : ParserError: (:) [], ParseException
- FullyQualifiedErrorId : MissingEqualsInNamedArgument
I assume that its version 2.0.3 on the github site
Is it something to do with my environment?
I have another windows laptop but its no the plex server. Is there some way to run it o another machine and point in the config file to the machine where the plex media server itself ir runing?
Regards
from plexbackup.
Which version of PowerShell do you have? Run this command and post the result:
$PSVersionTable.PSVersion
from plexbackup.
from plexbackup.
Okay, this explains it. You need to upgrade PowerShell to at least version 4: https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/install/installing-windows-powershell?view=powershell-7.1
from plexbackup.
from plexbackup.
Don't see any attachments, but you should not be getting any prompts to run. Just try running it with two switches: -Test -Inactive
. What happens?
from plexbackup.
from plexbackup.
When you reply from email, all your attachments get lost (and formatting gets messed up), so it's better to reply from GitHub.
From your log file info, it looks like you still do not have the dependent modules working correctly (based on the missing script version: PlexBackup v
).
Regurding the The volume for a file has been externally altered so that the opened file is no longer valid error, I have no idea what it means, but if your H drive points to a NAS share, I'd try using a local drive first (to see if it works).
from plexbackup.
from plexbackup.
Hi Alek Again.
I "documented" what I did and took screen shots and pasted them into a word file which I will hopefully be able to attach here for you to see
DO I need to be actually logged onto github to download the help files needed (as you will see the screenshots point to thats where it is getting the helpfiles from but fails)
Hope you can see the word file. Will email it anyway in case it has been stripped or corrupted
Regards
from plexbackup.
Yeah, it looks like you did not follow the instructions to adjust execution policy settings. Try following the instructions first. You should not get any prompt other than a one-time prompt to update Nuget (also mentioned in the instructions).
from plexbackup.
Also read the Script execution section.
from plexbackup.
I assume this was resolved.
from plexbackup.
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.