-
-
Notifications
You must be signed in to change notification settings - Fork 268
New Borg variables introduced #1052
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
Conversation
|
I really appreciate variable names that actually explain @gozora |
|
@gozora export BORG_name=$BORGBACKUP_name Woudn't it be simpler and more straightforward to specify |
|
I noticed |
What I was aiming for was possibility for user to use BORG_* variables from shell (for whatever reason) like |
|
I meant when rear (the running program) sets BORG_* variables What not works with your approach is BORG_RELOCATED_REPO_ACCESS_IS_OK="n" rear mkbackup because you overwrite that with what is specified in default.conf BORGBACKUP_RELOCATED_REPO_ACCESS_IS_OK="y" and the subsequent if [ ! -z $BORGBACKUP_RELOCATED_REPO_ACCESS_IS_OK ]; then
export BORG_RELOCATED_REPO_ACCESS_IS_OK=$BORGBACKUP_RELOCATED_REPO_ACCESS_IS_OK
fi
When what is specified in default.conf has precedence over From my current point of view using BORGBACKUP_name But I am not a Borg Backup user, so that I could be plain wrong. |
|
Typo correction: BORG_RELOCATED_REPO_ACCESS_IS_OK="n" rear mkbackup when there is in default.conf BORGBACKUP_RELOCATED_REPO_ACCESS_IS_OK="y" |
|
@jsmeix One more reason we have this indirection is discussion. In my opinion, this gives us more maneuvering space for mapping Borg variables to ReaR and also have bigger control over certain aspects of Borg behavior. |
|
I would be grateful if you do the pull request Regarding BORGBACKUP_name versus BORG_name: |
|
There are actually two types of Borg variables used in implementation:
|
|
This difference is what I mean. Those under (1.) are from my point of view ReaR's My personal thinking is that Borg's own environment variables From my point of view it is correct to set and use in ReaR |
|
Ah, maybe I got your point now (what a looong wiring I have :-)). Is that correct? |
|
@gozora Since I merged #1053 This means you must update your working copy |
|
@jsmeix are you working overtimes today? :-) |
|
@gozora regarding your Yes that is what I have in mind. And no - you do not have a long wiring - it is complicated |
|
Created pull-request in borgbackup/community. |
New ReaR variables for controlling Borg behaviour: