Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create script to dump mongodb and upload to S3 #5

Open
mrcnc opened this issue Nov 22, 2020 · 0 comments
Open

Create script to dump mongodb and upload to S3 #5

mrcnc opened this issue Nov 22, 2020 · 0 comments

Comments

@mrcnc
Copy link
Member

mrcnc commented Nov 22, 2020

Let's snapshot the data in MongoDB periodically and then upload the db dump to S3 so we can have a backup in case anything were to happen on the server we're currently hosting this on.

Assume the script will be able to load AWS credentials from default location on the server (so no need to have credentials or environment variables for AWS keys).

The script should be able to run on some type of configurable cron schedule. Either cron on the server or as a container. I think once daily is fine for now, preferably at night.

Additionally the script should use set the bucket location using an environment variable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant