Backup process
Backup process¶
The standard automatic backup process is performed nightly at 23:00 UTC, on those accounts that are enabled and do not have backup disabled.
Each item that is backed up is a record saved in the database, which can be consulted from the section Backup LOGs.
The procedure is as follows:
- Get the list of accounts susceptible to backup
- For each account, the services that can be backed up are obtained based on their provider; For now, the services implemented are as follows:
- AWS / EC2
- For each service, if applicable, the regions to be processed are obtained
- For each region, the list of candidate machines to be backed up is obtained, according to the following criteria:
- For AWS/EC2, Beanstalk instances are ignored (
elasticbeanstalk:environment-id
) and autoscaling (aws:autoscaling:groupName
) - You get the "Backup" tag; if this is a number and greater than 0 the object is added to the list of objects to back up
- Otherwise, the object is ignored
- For AWS/EC2, Beanstalk instances are ignored (
- Finally, the objects obtained in the previous step are backed up. In the case of AWS / EC2, the tags of the source instance are copied to the backup made, in addition to adding a "BackupSourceEc2Id" tag, indicating the EC2 instance ID.
It is also possible to create custom backups, with a specific schedule for certain objects from the scheduler.