I'm running an EC2 instance using Ubuntu 20.04 to host 4 small personal websites (1 .NET Core and 3 WordPress) and I want to ensure a regular backup schedule, mainly because I'm fairly new to Linux and setting up this server took FOREVER, and I'm afraid to update packages etc. just in case it breaks everything and I have to start over! I eventually intend to have the WordPress websites use a separate RDS instance for the MySQL databases and create daily backups, but they're on the same server at the moment.
I set up an automated backup schedule last night (Friday) to run every Saturday at 5am for my EC2 instance and the attached EBS volume, but I have a few questions about it which I hope you folks might be able to help with:
If I'm backing up my EC2 instance, do I actually need to backup the attached EBS, or is that included?
The EBS backup took 15 minutes, but the EC2 backup took over 5 hours - is this normal? The EBS volume is 20gb, both backups say that the backup size is 20gb.
What is actually backed up for the EC2? Documentation implies "configurations etc.", but surely that would take no time at all and the size of this backup would be negligible?
Documentation advises that backups are incremental, so for the EBS volume the first backup would be 20gb, and any made after would just be the size of the changed data. However, if I schedule backups to expire after 30 days, what happens if I need to restore last week's incremental backup if the original full 20gb backup has since expired?
Is what I'm doing/planning to do for backups correct/cost effective, or are there better solutions?
Any help is appreciated.