From fcef394fb71d4eac453b778f1bb3642fc507eb7d Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Thu, 21 May 2015 04:48:25 -0500 Subject: [PATCH] added comments --- ee/cli/plugins/site_functions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ee/cli/plugins/site_functions.py b/ee/cli/plugins/site_functions.py index 8a0ada51..777ccb27 100644 --- a/ee/cli/plugins/site_functions.py +++ b/ee/cli/plugins/site_functions.py @@ -530,6 +530,9 @@ def sitebackup(self, data): # ee_db_name = (EEFileUtils.grep(self, configfiles[0], # 'DB_NAME').split(',')[1] # .split(')')[0].strip().replace('\'', '')) + + # skip backup database if its non wp site or database flag is marked as deleted + Log.debug(self, "skipping database backup...") if data['ee_db_name'] and data['ee_db_name'] != 'deleted': Log.info(self, 'Backing up database \t\t', end='') try: