Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WAL-G: Perform weekly full backup and retain 4 full backups
In this commit, we have made important changes to the backup and retention strategy. We have transitioned from using the 'wal-g delete before FIND_FULL' command to 'wal-g delete retain'. This change was made to ensure a more robust and predictable backup retention policy. With 'wal-g delete retain', we explicitly specify the number of full backups to retain, which provides better control over the backup history. Furthermore, we have introduced a new configuration option, 'WALG_DELTA_MAX_STEPS', which is set to '6'. This option determines the maximum number of delta backups that can be retained between full backups. By limiting the number of data backups, we can optimize storage utilization and ensure efficient backup management. Additionally, we have added logging to capture the results of both backup creation and deletion. This logging will help us monitor the success and effectiveness of the backup and retention process, allowing us to quickly identify any issues or anomalies.
- Loading branch information