Guide on Microservices: Backups and Consistency | Consistent Disaster Recovery for Microservices - the BAC Theorem
When backing up an entire microservices architecture, it is not possible to have both availability and consistency.
- Eventual Inconsistency with Full Availability (High Availability)
- When making an independent backup of the state (the event log) of each service, it is possible that one service will be backed up before the event is added to the log, while the other service will be backed up after the corresponding event is added to its log. When restoring the services from backup, only one of the two services will recover its complete log. The global state of the microservice architecture will thus become inconsistent after restoring it from backup.
- Possible problems,
- Broken link