Skip to content

Need to dump both routines, and any event(s) that trigger those routi… #27

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CompPhy
Copy link

@CompPhy CompPhy commented Jan 7, 2021

It is not sufficient to export just the routines. You also need to export any events that are used to trigger those routines. This is especially key for those of us that have partitioned our history tables, as the routines are how we maintain the partitions.

This has been tested to work for both export and import on Zabbix 3.0.31 release. As this is a function of the mysqldump command, I would expect this to work just fine with any other Zabbix version.

@CompPhy
Copy link
Author

CompPhy commented Jan 7, 2021

Also... Is there a reason you used --skip-extended-insert on the data export? This option makes importing take FOREVER because it doesn't take advantage of bulk inserts.

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

Successfully merging this pull request may close these issues.

1 participant