Added support to exclude multiple tables while taking backup. #7163

This commit is contained in:
Florian 2024-03-08 07:14:29 +01:00 committed by GitHub
parent 8b130b3351
commit 134e651989
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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')