Git Product home page Git Product logo

Comments (7)

pearlset79 avatar pearlset79 commented on June 24, 2024 1

It would seem after getting the new script and making some small changes all is well....thanks for the script and support!

from plexbackup.

alekdavis avatar alekdavis commented on June 24, 2024

I'm looking into this. Will let you know.

from plexbackup.

alekdavis avatar alekdavis commented on June 24, 2024

Should be fixed. Let me know.

from plexbackup.

pearlset79 avatar pearlset79 commented on June 24, 2024

I ran the script and it created the log file but still no email. The log says "success" with no email errors. I have SendMail set to "Always" and Log set to true. Am I doing something wrong? Other 2 log options are set to null.

from plexbackup.

alekdavis avatar alekdavis commented on June 24, 2024

Please run the backup script within the Start-Transcript block (see https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.host/start-transcript?view=powershell-7.2) and -Verbose -Debug switches, e.g.:

Start-Transcript -Path "c:\logs\transcript.txt"
.\Plexbackup.ps1 ... -Verbose -Debug
Stop-Transcript

Then post the transcript file. I will take a look.

from plexbackup.

pearlset79 avatar pearlset79 commented on June 24, 2024

Windows PowerShell transcript start
Start time: 20220707161534
Username: NUC-2-SERVER\Nicholas
RunAs User: NUC-2-SERVER\Nicholas
Configuration Name:
Machine: NUC-2-SERVER (Microsoft Windows NT 10.0.19044.0)
Host Application: C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
Process ID: 9932
PSVersion: 5.1.19041.1682
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.19041.1682
BuildVersion: 10.0.19041.1682
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1


Transcript started, output file is c:\logs\transcript.txt
PS C:\Windows\system32> cd I:\PlexBackupScript
PS I:\PlexBackupScript> .\PlexBackup.ps1

PS I:\PlexBackupScript> TerminatingError(Send-MailMessage): "The process cannot access the file 'I:\PlexBackupScript\20220707161602\Backup.log' because it is being used by another process."

TerminatingError(Send-MailMessage): "The process cannot access the file 'I:\PlexBackupScript\20220707161602\Backup.log' because it is being used by another process."
PS I:\PlexBackupScript> Stop-Transcript


Windows PowerShell transcript end
End time: 20220707171524


from plexbackup.

alekdavis avatar alekdavis commented on June 24, 2024

I do not see the transcript file, but first of all, did you try the latest version of the script?

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.