Skip to content

Commit

Permalink
feat: fix mongodump
Browse files Browse the repository at this point in the history
  • Loading branch information
henilp105 committed Dec 26, 2023
1 parent 88a99d4 commit ae88223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/generate_tarball.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def generate_latest_tarball():
# Execute the mongodump command
archive_date = datetime.now().strftime("%d-%m-%Y")
archive_path = os.path.abspath(f"static/registry-{archive_date}.tar.gz")
command = f"mongodump --uri={mongo_uri} --archive={archive_path} --db={database_name} --gzi p --excludeCollection=users".split()
command = f"mongodump --uri={mongo_uri} --archive={archive_path} --db={database_name} --gzip --excludeCollection=users".split()
try:
subprocess.call(command, text=True)
except subprocess.CalledProcessError as e:
Expand Down

1 comment on commit ae88223

@vercel
Copy link

@vercel vercel bot commented on ae88223 Dec 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.