Giter Site home page Giter Site logo

Comments (25)

alekdavis avatar alekdavis commented on June 27, 2024

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.

chriskeeganhw avatar chriskeeganhw commented on June 27, 2024

from plexbackup.

chriskeeganhw avatar chriskeeganhw commented on June 27, 2024

from plexbackup.

alekdavis avatar alekdavis commented on June 27, 2024

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.

alekdavis avatar alekdavis commented on June 27, 2024

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.

chriskeeganhw avatar chriskeeganhw commented on June 27, 2024

from plexbackup.

alekdavis avatar alekdavis commented on June 27, 2024

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.

chriskeeganhw avatar chriskeeganhw commented on June 27, 2024

from plexbackup.

alekdavis avatar alekdavis commented on June 27, 2024

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.

chriskeeganhw avatar chriskeeganhw commented on June 27, 2024

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.

alekdavis avatar alekdavis commented on June 27, 2024

There is something wrong with the attached file. Please try downloading the latest release (v2.0.3) and see if it helps.

from plexbackup.

chriskeeganhw avatar chriskeeganhw commented on June 27, 2024

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.

alekdavis avatar alekdavis commented on June 27, 2024

Which version of PowerShell do you have? Run this command and post the result:

$PSVersionTable.PSVersion

from plexbackup.

chriskeeganhw avatar chriskeeganhw commented on June 27, 2024

from plexbackup.

alekdavis avatar alekdavis commented on June 27, 2024

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.

chriskeeganhw avatar chriskeeganhw commented on June 27, 2024

from plexbackup.

alekdavis avatar alekdavis commented on June 27, 2024

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.

chriskeeganhw avatar chriskeeganhw commented on June 27, 2024

from plexbackup.

alekdavis avatar alekdavis commented on June 27, 2024

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.

chriskeeganhw avatar chriskeeganhw commented on June 27, 2024

from plexbackup.

chriskeeganhw avatar chriskeeganhw commented on June 27, 2024

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

plex backup screenshots.docx

from plexbackup.

alekdavis avatar alekdavis commented on June 27, 2024

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.

alekdavis avatar alekdavis commented on June 27, 2024

Also read the Script execution section.

from plexbackup.

alekdavis avatar alekdavis commented on June 27, 2024

I assume this was resolved.

from plexbackup.

chriskeeganhw avatar chriskeeganhw commented on June 27, 2024

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.