pulibrary / special_collections

Deprecated - Special Collections ( formerly RBSC) Drupal 7 Project
https://library.princeton.edu/special-collections/
GNU General Public License v2.0
2 stars 0 forks source link

Add Cap Command to Dump Database #736

Closed kevinreiss closed 1 year ago

kevinreiss commented 1 year ago

Mysqldump requires users to have the FLUSH TABLES permissions which our non-root users do not have. Enable project the dump the database to work around issue https://github.com/pulibrary/princeton_ansible/issues/3690

Implementation Notes

Implemented in the main website at: https://github.com/pulibrary/pul_library_drupal/pull/1967

sandbergja commented 1 year ago

Note that pas_craft has a cap task that dumps the db, and also downloads it to the local device: https://github.com/PrincetonUniversityLibrary/pas-craft3/blob/main/config/deploy.rb#L80-L90