Johannes Meixner
Johannes Meixner
Cf. https://github.com/apple/cups/issues/6024
@ZENAdmin-Ops I am not a Borg backup user so I cannot actually help with Borg backup specific issues. In general regarding issues with third-party backup tools: Usually we at ReaR...
It seems having a valid BORGBACKUP_USERNAME set is mandatory. @ZENAdmin-Ops why do you have ``` # BORGBACKUP_USERNAME="zen" ``` i.e. no BORGBACKUP_USERNAME set? The 'Borg -> SSH' section in https://github.com/rear/rear/blob/master/doc/user-guide/04-scenarios.adoc shows...
@ZENAdmin-Ops the section you refer to reads ``` Borg -> SSH Setup ssh key infrastructure for user that will be running backup. Issuing following command must work without any password...
The only code place where BORGBACKUP_USERNAME is evaluated is in usr/share/rear/prep/BORG/default/100_set_vars.sh ``` if [[ -n $BORGBACKUP_HOST ]]; then borg_dst_dev=ssh://$BORGBACKUP_USERNAME@$BORGBACKUP_HOST:$BORGBACKUP_PORT else ``` so perhaps things might already work for password-less Borg...
@ZENAdmin-Ops I think you should experiment with the 'borg_dst_dev' setting in usr/share/rear/prep/BORG/default/100_set_vars.sh For example as a test you may use a selfmade usr/share/rear/prep/BORG/default/100_set_vars.sh script that contains only (this is the...
As far as I see borg_dst_dev is nowhere altered: ``` rear.github.master # find usr/sbin/rear usr/share/rear -type f | xargs egrep 'borg_dst_dev=|borg_dst_dev+=' usr/share/rear/prep/BORG/default/100_set_vars.sh: borg_dst_dev=ssh://$BORGBACKUP_USERNAME@$BORGBACKUP_HOST:$BORGBACKUP_PORT usr/share/rear/prep/BORG/default/100_set_vars.sh: borg_dst_dev=$BUILD_DIR/borg_backup ``` accordingly borg_dst_dev is only...
@rudyvirus see ``` Attachments, as applicable ("rear -D mkrescue/mkbackup/recover" debug log files) ``` and ``` ... include the relevant parts from /var/log/rear/rear-hostname.log preferably with full debug information via 'rear -d...
A general note on using ShellCheck for ReaR scripts: https://github.com/rear/rear/issues/1040#issuecomment-1062932894 Conditions for using ShellCheck for ReaR scripts: https://github.com/rear/rear/issues/1040#issuecomment-1034278415 ``` * show only newly introduced problems ... * do not produce...
@pcahyna I had no plans to close this issue. In general I appreciate automated ShellCheck tests, cf. https://github.com/rear/rear/issues/1040#issuecomment-1062932894 provided it is carefully implemented so it provides real net value to...