amazon-managed-grafana-roadmap icon indicating copy to clipboard operation
amazon-managed-grafana-roadmap copied to clipboard

Automated Backups for Grafana

Open rsheldon-sincro opened this issue 2 years ago • 3 comments

I would like to request that AWS Managed Grafana support automated backups, much like it does for other services, e.g.

  • Daily snapshot
  • incremental
  • create a new workspace from a snaphot (and/or be able to rollback to a particular point in time)
  • x-region snapshot replication
  • Integration with AWS Backup

A partial solution to this would be to allow a backup/restore to S3, as S3 can be replicated to another region easily.

While Grafana dashboards store the last 20 versions of themselves, it's very easy to spin through 20 version quickly (in an hour) if you're actively editing and testing a dashboard. Also, this isn't a "real" back up solution, as it's all held within the grafana DB, and not externally. It also doesn't cover alerts, datasources, teams etc.

For example:

  • https://github.com/ysde/grafana-backup-tool - supports backup to s3
  • https://github.com/aws-observability/amazon-managed-grafana-migrator supports grafana->grafana migration. Could it be enhanced to use S3 as an intermediate repository, and go between the same version of grafana?

Without the ability to backup Grafana, which is mostly built by direct UI manipulation (dashboards), it doesn't really fit well into an Enterprise, esp one which is required to have a DR solution.

rsheldon-sincro avatar Jun 20 '23 22:06 rsheldon-sincro

There is https://github.com/aws-samples/grafana-automated-backup-tool which seems like the tool you are looking for. It supports recovery from s3.

saefty avatar Dec 18 '23 09:12 saefty

While there is a pattern for doing this as pointed out, I don't consider this adequate. AMG is a "managed" service, and I shouldn't have to build and deploy stuff just to back it up. It should be built in like RDS backups, and integrated with AWS Backup to have Grafana considered a real "Managed" solution.

rsheldon-sincro avatar May 30 '24 05:05 rsheldon-sincro