Make backup task a Sidekiq cron
Zendesk: https://gitlab.zendesk.com/agent/tickets/57740
A customer is operating in AWS in an HA configuration, where all nodes are essentially ephemeral. Our current backup situation requires users to configure an external cron job for backups. The problem is that the 'primary' node for the purpose of backups could go away, leaving no backups unless the situation is caught.
It would be nice if the backup was a Sidekiq cron instead - any node could potentially run the backup at the scheduled time, rather than relying on a single, primary node.
The current backup system would have to be reworked slightly. Much of the logic is encapsulated in a backup library, but some logic is in the Rake tasks and would have to be moved. I'm not sure if there are other considerations (I'm sure there are).