From f68601c003a136deeafdb2290a25e467d40b979a Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Wed, 4 Nov 2015 12:34:59 +0530 Subject: [PATCH] [fix] During dropbox backup, don't take files backup, as the files are synced individually --- frappe/integrations/doctype/dropbox_backup/dropbox_backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/integrations/doctype/dropbox_backup/dropbox_backup.py b/frappe/integrations/doctype/dropbox_backup/dropbox_backup.py index ec56f4a9e9..fabc792301 100644 --- a/frappe/integrations/doctype/dropbox_backup/dropbox_backup.py +++ b/frappe/integrations/doctype/dropbox_backup/dropbox_backup.py @@ -139,7 +139,7 @@ def backup_to_dropbox(): dropbox_client = client.DropboxClient(sess) # upload database - backup = new_backup() + backup = new_backup(ignore_files=True) filename = os.path.join(get_backups_path(), os.path.basename(backup.backup_path_db)) upload_file_to_dropbox(filename, "/database", dropbox_client)