Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Offsite backups - Amazon EC2

Started by John Green 5 years ago · 0 replies · 626 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 jeremycherfas, 1 week ago
1 115 1 week ago
Installation & Hosting · by motorambler, 3 weeks ago
8 392 2 weeks ago
Installation & Hosting · by antoinep, 3 months ago
8 965 3 months ago
Installation & Hosting · by Jürgen Dietrich, 10 months ago
0 623 10 months ago
Installation & Hosting · by rappluk, 11 months ago
0 667 11 months ago