-
-
Notifications
You must be signed in to change notification settings - Fork 268
Improvements in handling of encrypted Borg repositories #1048
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
gozora
commented
Oct 24, 2016
- introduced BORGBACKUP_PASSPHRASE, to send pass-phrase to Borg using environment variable
- logic of Borg backup work-flow was reordered, now we are able to COPY_AS_IS_BORG keyfile to Relax-and-Recover rescue/recovery system
- Introduced BORGBACKUP_REMOTE_PATH, which sets location of Borg binary on remote server. Borg can be now installed to arbitrary location
- default encryption is now "none" (see comment)
Out of order Borg keys copy bug corrected. (When using COPY_AS_IS_BORG and BORGBACKUP_ENC_TYPE=keyfile)
|
Update of documentation will follow soon ... |
|
@gozora I assume these variables are currently only used for BORG I would like to know how those variables are meant to be used. |
Yes that is correct, scope for these variables is intended only for Borg. The reason why they are all caps is that I've try to follow ReaR conding style. I can of course change them, so their use become more obvious. Thanks V. |
|
@gozora For example we have already In contrast when you use BORG_OPT_COMPRESSION Only some offhanded thoughts for the future: Alternatively one could perhaps use the existing But currently default.conf states that Perhaps this could become a good example how one If one likes to use BACKUP_PROG_COMPRESS_OPTIONS As far as I know currently the various backup methods Perhaps it is better to keep different backup methods separated? Perhaps it is better to do common things via same variables? Currently I don't know... |
In my opinion they should remain separated, it is maybe nicer to have one variable for multiple backups but, this can cause some trouble connected with introducing more and more complicated code when new features will be build into ReaR. For new variable names (OPT_COMPRESSION and co.) I'll prefix them with BORGBACKUP_*, to avoid confusion. |
|
I also think it is better to keep separated things separated. In particular keeping different backup methods separated |
fit better to ReaR naming conventions.
|
@gozora |
|
@jsmeix sorry for my trashy development management! |