Skip to content

Commit e836835

Browse files
committed
err
1 parent 2721ea7 commit e836835

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mongodb_consistent_backup/Archive/Tar/TarThread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ 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, ]
40+
cmd_flags = ["--exclude", "admin", "--exclude", "config" ,"-C", backup_base_dir, "-c", "-f", self.output_file, "--remove-files"]
4141
admin_command_flags = ["-C", self.backup_dir +"/dump/", "-c", "-f", admin_backup_file, "--remove-files"]
4242
config_command_flags = ["-C", self.backup_dir +"/dump/", "-c", "-f", config_backup_file, "--remove-files"]
4343

mongodb_consistent_backup/Common/LocalCommand.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self, command, command_flags=None, admin_command_flags=None, config
3333
self.config_command_line = [self.command]
3434
if len(self.config_command_flags):
3535
self.config_command_line.extend(self.config_command_flags)
36-
config_command_flags
36+
3737

3838
def parse_output(self):
3939
if self._process:

0 commit comments

Comments
 (0)