Skip to content

Backups from different architecture may be restored with inconsistencies

Backups may be restored with inconsistencies when performed with a Postgres instance running on a different architecture.

Implementation plan

Add field .spec. in SGBackup to indicate the operative system and the architecture used to perform the backup. Check that the operative system and the architecture is the same as the Pod when recovering from an SGBackup and fail otherwise.

Acceptance Criteria

It is not possible to restore an SGBackup if performed with a different operative system and architecture than the ones for the running Postgres instance where the backup is going to be restored.

  • Implement the security feature
  • Create test
Edited by Jose OSS