MySQL database backup does not include procedures.
Context
Castopod uses stored procedures for podcast analytics. If the procedures are not present, the analytics will not store hits and the feature will not work anymore.
Steps to reproduce
Perform a backup of Castopod
Restore the backup
--> All tables and data are restored but no more procedures
Expected behavior
The backup should restore routines with the tables and data.
Looking at the backup script, the ynh_mysql_dump_db helper does not include the needed --routines flag to make this work:
Describe the bug
MySQL database backup does not include procedures.
Context
Castopod uses stored procedures for podcast analytics. If the procedures are not present, the analytics will not store hits and the feature will not work anymore.
Steps to reproduce
Expected behavior
The backup should restore routines with the tables and data.
Looking at the backup script, the
ynh_mysql_dump_db
helper does not include the needed --routines flag to make this work: