Skip to content
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

Restore to new PMM instance where retention window is greater than default of 30 days #3

Open
shoffman-percona opened this issue Nov 3, 2023 · 0 comments

Comments

@shoffman-percona
Copy link
Owner

Lets say a PMM server has a custom retention window of 180 days and a backup is taken.

Pick your disaster but you want/need to restore the data to a new PMM server (fresh docker image).

When you copy the backup artifact to the new server and run the took in restore mode, any clickhouse data older than the default 30 days will be dropped.

the workaround for now is to run the restore a second time but this is a pain given 180 days retention can mean large backup artifacts.

One potential fix is to change the order of restoration so that grafana is first updated so that QAN and Clickhouse are made aware of the increased retention window and then start the clickhouse restore. Another possiblity is to cherry pick out the setting for retention and restore that first...not sure which is better or if there's a 3rd option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant