-
Notifications
You must be signed in to change notification settings - Fork 777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dbctl for dqlite backup and restore #1435
Conversation
@sstubbs here is the PR with a command to handle dqlite backups. |
Oh brilliant! thanks a lot. This is such a great feature to have. |
@@ -96,6 +96,8 @@ apps: | |||
command: microk8s-cilium.wrapper | |||
juju: | |||
command: microk8s-juju.wrapper | |||
dbctl: | |||
command: microk8s-dbctl.wrapper |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you have time, can you please consider which plugs would be needed for strict?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we would need this https://snapcraft.io/docs/personal-files-interface to be able to write the backup file.
This is only by looking the code. I did not run any tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks.
* First pass on microk8s enable * Add pie chart to the grafana of prometheus operator * Revert "Add pie chart to the grafana of prometheus operator" This reverts commit 1c28dc6. * Handle distribute an operation across nodes (#1297) * Handle dqlite and cluster agent ports on HA cluster * Fix distributed ops on single node cluster (#1320) * Start dqlite and calico by default * Do not try to distribute configuration when cluster agent is stopped * Dqlite without REST interface * Remove the ha-cluster subcommand from status (#1374) * Remove the ha-cluster subcommand from status * fix enabling of dns when running HA. (#1403) * Fix LXC deployments, umount kubelet when removing microk8s (#1424) * Stopping control plane on HA (#1406) * Change ownership of files under the dqlite path (#1429) * Change ownership of files under the dqlite path * Address review comments * Add message in joining (#1452) * Handle not reachable nodes (#1450) * Fixes #1448 (#1457) * microk8s.leave single leader guard (#1462) * Fix cilium in an ha cluster (#1453) * dbctl for dqlite backup and restore (#1435) Co-authored-by: balchua <balchua@yahoo.com>
A dbctl command is added to take backups and restore the dqlite db.