diff --git a/backend/generate_tarball.py b/backend/generate_tarball.py index e775f418..5e392040 100644 --- a/backend/generate_tarball.py +++ b/backend/generate_tarball.py @@ -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: