bank-green/bankgreen-django

Backup DB

Closed this issue · 1 comments

AS A Bank.Green Developer
I WANT periodic backups of the data.bank.green data
SO THAT if we need to roll back due to ransomware, we can

Acceptance criteria

  • sqlite.db is periodically copied to another directory
  • the new file is timestamped
  • the new file has restricted permissions

Running via a cronjob executing /home/django/backup.sh daily.