diff --git a/backend/generate_tarball.py b/backend/generate_tarball.py index 64ecfdad..7f5ea0f1 100644 --- a/backend/generate_tarball.py +++ b/backend/generate_tarball.py @@ -22,4 +22,6 @@ def generate_latest_tarball(): archive_date = datetime.datetime.now().strftime("%Y-%m-%d") command = f"mongodump --uri={mongo_uri}--archive=static/registry-{archive_date}.tar.gz --db={database_name} --gzip --excludeCollection=users" subprocess.call(command, shell=True) - print("Database backup created successfully") \ No newline at end of file + print("Database backup created successfully") + +generate_latest_tarball() \ No newline at end of file