#1665 Issue closed: duply profile not found due to missing BACKUP_DUPLICITY_URL

Labels: fixed / solved / done, minor bug, external tool

gdha opened issue at 2017-12-29 11:13:

  • rear version (/usr/sbin/rear -V): 2.3
  • OS version (cat /etc/rear/os.conf or lsb_release -a): centOs7
  • rear configuration files (cat /etc/rear/site.conf or cat /etc/rear/local.conf):
BACKUP=DUPLICITY
BACKUP_PROG="duply"
DUPLY_PROFILE=duply-client

Program duply works fine with the duply_profile.

  • Are you using legacy BIOS or UEFI boot? BIOS
  • Brief description of the issue:
    ERROR: You must specify either BACKUP_DUPLICITY_URL or BACKUP_DUPLICITY_NETFS_URL or BACKUP_DUPLICITY_NETFS_MOUNTCMD and BACKUP_DUPLICITY_NETFS_UMOUNTCMD !
  • Work-around, if any:
    script /usr/share/rear/prep/DUPLICITY/default/100_check_NETFS_URL_requirements.sh runs before script /usr/share/rear/prep/DUPLICITY/default/200_find_duply_profile.sh - if we reverse the order it should be fine

gdha commented at 2017-12-29 12:04:

Update: in script 100_check_NETFS_URL_requirements.sh we also need to add (in the beginning):

# If we are using duply and found a valid a duply profile we skip this script
[[ "$DUPLY_PROFILE" ]] && return

gdha commented at 2018-01-03 12:43:

We can now use duply and duplicity independently - should be fixed.


[Export of Github issue for rear/rear.]