From 134e6519897af329ca72762ec16d44b9b03bf068 Mon Sep 17 00:00:00 2001 From: Florian Date: Fri, 8 Mar 2024 07:14:29 +0100 Subject: [PATCH] Added support to exclude multiple tables while taking backup. #7163 --- web/pgadmin/tools/backup/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/pgadmin/tools/backup/__init__.py b/web/pgadmin/tools/backup/__init__.py index 15709b9b8..8e983b515 100644 --- a/web/pgadmin/tools/backup/__init__.py +++ b/web/pgadmin/tools/backup/__init__.py @@ -236,8 +236,10 @@ def _get_args_params_values(data, conn, backup_obj_type, backup_file, server, return val = data.get(key, default_value) if val: - args.append(param) - args.append(val) + val = val.split() + for c_val in val: + args.append(param) + args.append(c_val) if backup_obj_type != 'objects': args.append('--database')