Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude folder don't work properly #47

Closed
ManuJapan89 opened this issue Apr 16, 2021 · 2 comments
Closed

Exclude folder don't work properly #47

ManuJapan89 opened this issue Apr 16, 2021 · 2 comments
Labels
not an issue Not a bug

Comments

@ManuJapan89
Copy link

Hi, i just started using your script
i've edited json config as follow
"ExcludeDirs": {
"_meta": {
"default": ["Diagnostics","Crash Reports","Updates","Logs","Cache"]
Basically "Cache" file is not needed as also stated by plex itself so i wanted to exclude it
adding Cache as you can see above

running this command as administrator in powershell...

PS C:\Users\manue\Downloads\PlexBackup-master\PlexBackup-master> .\PlexBackup.ps1 -Mode Backup -Type 7zip -LogLevel Debug -Log -ErrorLog -Keep 1

it keeps archive the cache folder

json and ps1 have the same name and are in the same folder

also, -loglevel debug don't show anything if i select -type 7zip
is it normal?
image

@alekdavis
Copy link
Owner

@ManuJapan89 : I'm pretty sure the Cache folder is needed unless you want to redo all poster art, etc. If you feel you do not need it, you need to specify it in the value key, not the default:

"ExcludeDirs": {
        "_meta": {
            "default": ["Diagnostics","Crash Reports","Updates","Logs"]
        },
        "value":  ["Diagnostics","Cache","Crash Reports","Updates","Logs"]
    },

The default element is just an example of the default.

@ManuJapan89
Copy link
Author

Thanks you very much... it's an amazing script... in an hour it does with success 30 GB of plex media server... it's unbelievable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not an issue Not a bug
Projects
None yet
Development

No branches or pull requests

2 participants