Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Installation & Hosting

Offsite backups - Amazon EC2

Started by John Green 5 years ago · 0 replies · 473 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 antoinep, 22 hours ago
7 73 4 hours ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 65 7 months ago
Installation & Hosting · by rappluk, 8 months ago
0 65 8 months ago
Installation & Hosting · by N, 12 months ago
3 76 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 65 1 year ago