Comments (6)
@Pottypotsworth If you set it in config (JSON) file, you do not need to specify it on command line. I suspect your JSON setting is not correct. Make sure it is defined as:
"Type": { "value": "7zip" },
Yeah, i think I had it slightly wrong. Sorry to be off topic, but whilst I have you. Is it possible to set the max number of backups in the JSON as opposed to an argument when running from the Powershell?
So only ever keep the recent backup + the previous backup?
Edit: Forget that, i have seen it is set as "Keep" in the json. Thanks
from plexbackup.
@Pottypotsworth Please, see #27
from plexbackup.
Thanks @alekdavis - in that thread you stated...
A few things:
The "The property "Length" cannot be found in the input for any objects" error is a bug. Well, not really a bug, it only happens if the backup fails. But it's good that you reported it. I will fix it (https://stackoverflow.com/questions/43308663/measure-object-the-property-length-cannot-be-found-in-the-input-for-any-obje). The "Exception calling "Write" with "3" argument(s): "Stream was too long"" error is caused by a Windows API limitation. Most likely it's because one of the files it attempts to archive is over 2 GB, or maybe it has a really long path name. Hard to say which one, but regardless, the default compression mechanism is not as robust as the 7-zip compression, so unless you have a valid reason to use the -Robocopy option, I'd recommend using 7-zip. I suspect that your Cache folder is really huge. It looks like it took almost 30 minutes to compress the Cache folder before it failed, so I would try to see what is wrong with it. See this thread for troubleshooting steps: https://forums.plex.tv/t/how-to-clean-up-the-huge-cache-folder/503871 . There is a chance that you may not need to back up the Cache folder at all, in which case you can add it to the list of excluded folders, but see if you can clean it up first and I'm sure that once you do, the backup will be fine.
For me...
- I guess this "bug" is already fixed?
- I am using 7Zip so there should be no issue?
- My Cache folder is only 27GB which seems relatively small compared to others.
I am not sure how to proceed, other than perhaps I should try Robocopy?
Thanks
from plexbackup.
@Pottypotsworth Yes, (1) is irrelevant. For (2), based on your log file, you are not using 7-zip:
Script started at:
09/08/2021 16:32:58
Operation mode:
BACKUP
Backup type:
DEFAULT
(3) is your choice. It's not terribly bad if you do not mind 10 or so minutes spent on backing it up.
The key thing is make sure you run the script with the -SevenZip
option.
from plexbackup.
Thanks @alekdavis - I set 7-zip as the default in the .json so didn't realise I also needed to use the -SevenZip option.
The process seems to be running for much longer this time. I'll let it run over night and report back tomorrow on the success and if we can close this issue :)
from plexbackup.
@Pottypotsworth If you set it in config (JSON) file, you do not need to specify it on command line. I suspect your JSON setting is not correct. Make sure it is defined as:
"Type": {
"value": "7zip"
},
from plexbackup.
Related Issues (20)
- 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
- metadata not included in backup HOT 3
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.