From 0ba3fb5a92d3bfca9b781f5cebb984bf08328392 Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Wed, 22 Jul 2020 15:53:10 +0530 Subject: [PATCH] fix: proper sequence of backups --- frappe/utils/backups.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/utils/backups.py b/frappe/utils/backups.py index 707a9ac511..56f3b9cafb 100644 --- a/frappe/utils/backups.py +++ b/frappe/utils/backups.py @@ -224,8 +224,8 @@ def fetch_latest_backups(with_files=True, recent=3): odb.get_backup(older_than=recent, ignore_files=not with_files) return { - "database": odb.backup_path_files, - "public": odb.backup_path_db, + "database": odb.backup_path_db, + "public": odb.backup_path_files, "private": odb.backup_path_private_files, "config": odb.site_config_backup_path }