diff --git a/routerlib/functions.py b/routerlib/functions.py index 6c28c48..da4d34a 100644 --- a/routerlib/functions.py +++ b/routerlib/functions.py @@ -17,7 +17,7 @@ def get_router_backup_file_extension(router_type): def gen_backup_name(router_backup): - return f'routerfleet-backup-{router_backup.id}-{router_backup.schedule_type}-{router_backup.router.address}-{router_backup.created.strftime("%Y-%m-%d_%H-%M")}' + return f'routerfleet-backup-{router_backup.id}-{router_backup.schedule_type}-{router_backup.created.strftime("%Y-%m-%d_%H-%M")}' def test_authentication(router_type, address, username, password, sshkey=None): diff --git a/templates/backup/backup_details.html b/templates/backup/backup_details.html index 217c64d..cf6b85b 100644 --- a/templates/backup/backup_details.html +++ b/templates/backup/backup_details.html @@ -91,6 +91,13 @@ {{ webadmin_settings.cron_last_run }} + +
  • + Error message + + {{ backup.error_message }} + +
  • {% endif %}