Skip to content

Commit

Permalink
feat: add fn
Browse files Browse the repository at this point in the history
  • Loading branch information
henilp105 committed Dec 26, 2023
1 parent 356cfd5 commit a4af2c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/generate_tarball.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
print("Database backup created successfully")

generate_latest_tarball()

1 comment on commit a4af2c5

@vercel
Copy link

@vercel vercel bot commented on a4af2c5 Dec 26, 2023

Choose a reason for hiding this comment

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

Checks for Deployment have failed

Please sign in to comment.