Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Offsite backups - Amazon EC2

Started by John Green 5 years ago · 0 replies · 748 views
5 years ago

I'm trying out hosting a Grav site on an EC2 instance of Amazon Web Services. I'm at the point where I'm running backups automatically using the built-in backup tool and a cron job.

Now I need to copy the /backup directory off the server. I'm looking for suggestions on what to do (not technical details) based on experiences of others. What was easy? What felt most secure? And so on.

I've contemplated:

  • AWS Backup or snapshotting the entire EBS volume seems to be overkill
  • Writing a script to copy to AWS S3
  • SFTP to/from another server (scripted + cron)

Ideally, it should also purge the backups that Grav purges, or cleanup based on retention rules.

I don't mind doing research afterwards on exactly how to do things, so this is more about choosing a good approach.

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by DrPen, 6 days ago
4 117 4 days ago
Installation & Hosting · by vollstock, 3 weeks ago
3 221 3 weeks ago
Installation & Hosting · by David, 7 years ago
3 3508 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
3 345 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
0 269 1 month ago