Skip to content

Clean up backup configs when deleting servers

What does this MR do and why?

Cleans up backup configs when deleting servers. Right now if you delete a server then create a new one that gets assigned the same ID the backup configs will persist.

Fixes #170 (closed)

How to set up and validate locally

Make a change in the backup config related to exclusions. Delete the server (This server must have the current highest ID) Create a new server. Check backups

Without the changes made in this branch the exclusions from the previous server will appear.

With the changes from this branch there will be no exclusions by default.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • Have you checked this doesn't interfere/conflict/duplicate someone elses work?
  • Have you fully tested your changes?
  • Have you resolved any lint issues?
  • Have you assigned a reviewer?
  • Have you applied correct labels?
Edited by Andrew

Merge request reports

Loading