-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Provide a high level tool to backup and restore the cluster #2480
Comments
@fspmarshall can you please CC me when user experience becomes more clear? |
@kontsevoy Its not 100% clear yet, but here's the state of my thinking thinking thus far: The usage pattern I'm targeting is basically what @klizhentas describes above: export a backup file with I think the most generic & powerful backup implementation would be one that could be implemented as a generic collection of "resources", making In practice, I do see a few challenges around actually starting a new auth server from the produced backup. As far as I can tell, the The above solution doesn't cover backing up the config file, but bundling the config file alongside the exported resources would be fairly simple. |
Description
It will be helpful to have a tool to backup and restore the cluster, here are the steps that have to be made:
On the old cluster, execute
tctl backup
that will capture the old cluster name, find and capture config file, capture certificate authorities stateStart new cluster with the backup path, e.g.
tctl start --backup=backup-file
that will verify that cluster name is the same and init the certificate authorities to the right values.The text was updated successfully, but these errors were encountered: