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

Config Documentation / Append only config? #68

Open
demlak opened this issue Nov 9, 2022 · 2 comments
Open

Config Documentation / Append only config? #68

demlak opened this issue Nov 9, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@demlak
Copy link

demlak commented Nov 9, 2022

Heythere..

since we use append-only mode on rest-sever, we do not want to start pruning etc.

so i tried to understand the script and the config.. but.. well.. i am a little bit confused =)

It woul dbe very helpfull to have an explanation of each config-variable..

i don't know if i just should set $SnapshotMaintenanceEnabled = $false or if this will have more consequences i don't want to have..

so.. 2 questions:
"how to work with append-only repos?"
and
"what about those config-variables?"

thx a lot..

@demlak demlak changed the title Config Documenation / Append only? Config Documentation / Append only? Nov 9, 2022
@demlak demlak changed the title Config Documentation / Append only? Config Documentation / Append only config? Nov 9, 2022
@ianneub
Copy link
Contributor

ianneub commented Nov 15, 2022

Setting $SnapshotMaintenanceEnabled = $false is what I do on a couple Windows machines and it has been running well for the last 9 months or so.

If you want to do any maintenance on the repository you will have to do that on your own.

I hope that helps!

@kmwoley kmwoley added documentation Improvements or additions to documentation question Further information is requested labels Jan 15, 2023
@kmwoley
Copy link
Owner

kmwoley commented Jan 15, 2023

Thanks, that's good feedback that the documentation could use improvement.

@ianneub is correct that setting $SnapshotMaintenanceEnabled = $false will stop all attempts to prune and forget, but it also will stop the script for checking data integrity.

If it's useful, I could add configuration points to disable forgetting and pruning individually so that maintenance could run, but just not those parts of "maintenance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants