Skip to content

Commit

Permalink
better variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
bug-or-feature committed Jan 30, 2025
1 parent 24f0e2e commit 5605119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sysproduction/backup_mongo_data_as_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def dump_mongo_data(data: dataBlob):
else:
source = "host"

all = config.get_element_or_default("mongo_dump_all", True)
if all:
dump_all = config.get_element_or_default("mongo_dump_all", True)
if dump_all:
data.log.debug(f"Dumping ALL mongo data to {path} (NOT TESTED IN WINDOWS)")
os.system(f"mongodump --{source}='{host}' -o={path}")

Expand Down

0 comments on commit 5605119

Please sign in to comment.