Skip to content

Commit 533cf98

Browse files
committed
separate remove
1 parent b26ddbe commit 533cf98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mongodb_consistent_backup/Archive/Tar/TarThread.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ def run(self):
3737
config_backup_file = output_file_dir+"/" +"_".join(["config",output_file_basename])
3838

3939
log_msg = "Archiving directory: %s" % self.backup_dir
40-
cmd_flags = ["--exclude", "admin", "--exclude", "config" ,"-C", backup_base_dir, "-c", "-f", self.output_file, "--remove-files"]
41-
admin_command_flags = ["-C", self.backup_dir +"/dump/", "-c", "-f", admin_backup_file, "--remove-files"]
42-
config_command_flags = ["-C", self.backup_dir +"/dump/", "-c", "-f", config_backup_file, "--remove-files"]
40+
cmd_flags = ["--exclude", "admin", "--exclude", "config" ,"-C", backup_base_dir+"/", "-c", "-f", self.output_file,]
41+
admin_command_flags = ["-C", self.backup_dir +"/dump/", "-c", "-f", admin_backup_file, ]
42+
config_command_flags = ["-C", self.backup_dir +"/dump/", "-c", "-f", config_backup_file, ]
4343

4444

4545
if self.do_gzip():

0 commit comments

Comments
 (0)