Git Product home page Git Product logo

Comments (4)

alekdavis avatar alekdavis commented on June 24, 2024

What is the error you're getting? Could you post the log file?

from plexbackup.

snupple avatar snupple commented on June 24, 2024

So there is no runtime error, but this is what the log looks like:

PlexBackup v2.1.2 (c) Alek Davis
Script started at:
  06/29/2022 07:51:47
Logging configuration:
  {"Initialized":true,"LogLevel":"Debug","Console":false,"File":true,"ErrorFile":true,"FilePath":"C:\\Users\\Rick\\OneDrive\\Backup Settings\\Plex\\20220629075147\\Backup.log","ErrorFilePath":"Errorlog.txt","Backup":true,"Overwrite":false,"Append":false,"WithLogLevel":{"IsPresent":false},"WithTimestamp":{"IsPresent":false},"TimestampFormat":"yyyy-MM-dd HH:mm:ss","UtcTime":false,"TabSize":2,"BackgroundColor":null,"ForegroundColor":null}
Operation mode:
  BACKUP
Backup type:
  DEFAULT
Plex version:
  1.27.1.5916
Log file:
  C:\Users\Rick\OneDrive\Backup Settings\Plex\20220629075147\Backup.log
Error log file:
  Errorlog.txt
Stopping Plex services:
  Plex Update Service
Stopping Plex Media Server process:
  Plex Media Server.exe
Backup will be saved in:
  C:\Users\Rick\OneDrive\Backup Settings\Plex\20220629075147
Deleting old backup folder(s):
  20220628205409
**Cannot delete folder 'C:\Users\Rick\OneDrive\Backup Settings\Plex\20220628205409.
Cannot bind argument to parameter 'Path' because it is an empty string.**
Starting Plex services:
  Plex Update Service
Starting Plex Media Server:
  C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe
C**annot bind argument to parameter 'Path' because it is an empty string.**

from plexbackup.

alekdavis avatar alekdavis commented on June 24, 2024

Okay, I do not normally use backup folders with spaces, but I tested it now and it all worked fine for me. No issues with spaces, so it looks like red herring.

I may be wrong, but I think the issue is with the fact that you are backing up to a folder under the OneDrive directory. The error occurs when the script attempts to delete old backup folder, but I suspect that the folder it tries to delete is not really there (it's a OneDrive feature that makes it look like the folder is there, but in fact, it's just a pointer and to get the folder content, you need to download the files from the cloud). If you manually download the folder contents via the Windows Explorer and try again, I assume it will work. Or remove the old backup folders from OneDrive, so they do not appear in the directory list.

Generally, I would not recommend backing up to OneDrive for a number of reasons, so I'd suggest using an external flash or hard drive. Does this make sense?

from plexbackup.

snupple avatar snupple commented on June 24, 2024

OK, I understand - I'll work something out, like copying the files over to Onedrive after they are created in a batch file or similar.

Thansk for your speedy reply!

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.