geerlingguy / drupal-operator

Drupal Operator for Kubernetes, built with Ansible and the Operator SDK.
32 stars 6 forks source link

Add finalizer to take a backup of Drupal's database and PVC filesystem #12

Closed geerlingguy closed 4 years ago

geerlingguy commented 5 years ago

Maybe PoC this with AWS S3 to limit scope creep? Basically, if you delete the CR:

  1. The Finalizer takes a backup using drush sql-dump
  2. The Finalizer makes an archive of both the sql dump and the files directory inside the Drupal Files PVC and then copies them into a configured S3 bucket.

See Ansible Operator Framework SDK deletion docs.

stale[bot] commented 4 years ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] commented 4 years ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.