diff --git a/py/webnotes/utils/backups.py b/py/webnotes/utils/backups.py index 164d97cc13..feb3664be9 100644 --- a/py/webnotes/utils/backups.py +++ b/py/webnotes/utils/backups.py @@ -89,12 +89,12 @@ class BackupGenerator: """ backup_url = webnotes.conn.get_value('Website Settings', 'Website Settings', 'subdomain') or '' - backup_url = os.path.join(backup_url, 'backups') + backup_url = os.path.join('http://' + backup_url, 'backups') file_url = os.path.join(backup_url, backup_file) from webnotes.utils.email_lib import sendmail recipient_list = self.get_recipients() - msg = """Click here to begin downloading\ + msg = """Click here to begin downloading\ your backup This link will be valid for 24 hours.