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

Move old data to s3 #5

Open
peterdudfield opened this issue Jan 5, 2023 · 0 comments
Open

Move old data to s3 #5

peterdudfield opened this issue Jan 5, 2023 · 0 comments

Comments

@peterdudfield
Copy link
Contributor

peterdudfield commented Jan 5, 2023

Detailed Description

Move old database from forecast and forecast_values (and maybe other tables) to a s3 in a csv file.

Context

Csv is the simpliest, and we can change that if we want to store it in a different way

Possible Implementation

  1. Script that reads data, saves to csv, and deletes. This could be any day older than 1 day.
  2. Dockerise script
  3. Set up CI to build and push docker image
  4. Make terraform to run every day at midday for 2 days before.
@peterdudfield peterdudfield mentioned this issue Jan 5, 2023
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