I have a Phoenix app. What’s the best way to do daily pgsql db backups?
Cron and a simple, separate elixir script which uploads a backup to AWS?
Create an api endpoint in my api which will require “SECRET” header and call it from cron? My webapp then will upload a backup to AWS, that is, there’ll be no separate elixir script.