We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac861cd commit 85ba4f8Copy full SHA for 85ba4f8
mongodb_consistent_backup/Archive/Archive.py
@@ -38,8 +38,8 @@ def threads(self, threads=None):
38
def archive(self):
39
if self._archiver:
40
config_vars = ""
41
- for key in self.config.archive:
42
- config_vars += "%s=%s," % (key, self.config.archive[key])
+ for key in self.config.archive[self.method]:
+ config_vars += "%s=%s," % (key, self.config.archive[self.method][key])
43
logging.info("Archiving with method: %s (options: %s)" % (self.method, str(config_vars[:-1])))
44
return self._archiver.run()
45
0 commit comments