You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ReaR version ("/usr/sbin/rear -V"):
current master code
Brief description of the issue:
In restore/DUPLICITY/default/400_restore_duplicity.sh there is
if [ "$BACKUP_PROG" = "duplicity" ]; then
...
export HOSTNAME=$(hostname)
which means if at this point the HOSTNAME is not what hostname outputs
then the current HOSTNAME value is changed to what hostname outputs
not only while 400_restore_duplicity.sh runs but
also for all subsequent scripts that run afterwards.
This conflicts with how the HOSTNAME variable is meant to be used in ReaR.
By default he HOSTNAME value is set in default.conf as
According to
git log -p --follow usr/share/rear/restore/DUPLICITY/default/400_restore_duplicity.sh
the HOSTNAME=$(hostname) exists since the beginning via 992df3e
ReaR version ("/usr/sbin/rear -V"):
current master code
Brief description of the issue:
In restore/DUPLICITY/default/400_restore_duplicity.sh there is
which means if at this point the HOSTNAME is not what
hostname
outputsthen the current HOSTNAME value is changed to what
hostname
outputsnot only while 400_restore_duplicity.sh runs but
also for all subsequent scripts that run afterwards.
This conflicts with how the HOSTNAME variable is meant to be used in ReaR.
By default he HOSTNAME value is set in default.conf as
which could be different compared to
HOSTNAME=$(hostname)
.Additionally the HOSTNAME value can be specified different by the user
as he likes or needs in his particular case in his etc/rear/local.conf
Use a different Duplicity specific variable name.
The text was updated successfully, but these errors were encountered: