Jira Cloud being used by an organization with an AWS infrastructure
- Cloud-to-cloud backup (Jira Cloud -> AWS S3)
- Jira Cloud does not allow backups within 48h of last backup
- Separate monthly and daily retention policies
- Don't store private keys in backup script
- Use AWS Lambda to run backup
- Stores backup file in virtual Lambda /tmp before copying to AWS S3
- Use hourly cron job via AWS CloudWatch to run script
- Script compares start time to epoch time, and aborts if within 48h of last backup
- Set up AWS S3 with two directories under one bucket
- Daily retention expires after 2 weeks
- Monthly retention expires after 6 months
- Private data is stored in and retrieved from AWS Secrets Manager
- Jira Cloud URL
- Jira API key
- Jira API user
- AWS S3 bucket name