Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Offsite backups - Amazon EC2

Started by John Green 5 years ago · 0 replies · 674 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 motorambler, 2 months ago
9 701 3 weeks ago
Installation & Hosting · by jeremycherfas, 1 month ago
1 345 1 month ago
Installation & Hosting · by antoinep, 4 months ago
8 1177 4 months ago
Installation & Hosting · by Jürgen Dietrich, 10 months ago
0 817 10 months ago
Installation & Hosting · by rappluk, 12 months ago
0 846 12 months ago