Delegation-numerique-en-sante / covid19-algorithme-orientation-api

Code source de l'API recevant les réponses au questionnaire d'orientation Covid-19
MIT License
5 stars 4 forks source link

Add export backup #57

Open l-vincent-l opened 4 years ago

l-vincent-l commented 4 years ago

You need to adapt config/prod.exs with the connection options of https://hexdocs.pm/sftp_client/SFTPClient.Operations.Connect.html#connect/1

bonjourmauko commented 4 years ago

cc @bzg

bonjourmauko commented 4 years ago

Hi @l-vincent-l! Thanks a lot! One question: what is the interval of the data streamed ? Is it "from the beginning of times until today at 4AM"?

@bzg dumps will start to be a couple of gigs soon, is it ok to stream the full dump each time?

l-vincent-l commented 4 years ago

It takes everything that has been produce the day before.

bonjourmauko commented 4 years ago

I think we should have in instance (process) that does just that, to avoid the duplication problem.