Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !989

WIP: stack/erp5: Fix mariadb export and import

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Xavier Thompson requested to merge xavier_thompson/slapos:erp5_fix_export into master May 26, 2021
  • Overview 10
  • Commits 2
  • Pipelines 0
  • Changes 3

The exporter.exclude file and restore-from-backup script used when exporting and importing ERP5 as part of Webrunner resiliency were assuming that to re-initialize mariadb it was enough to delete the contents of srv/mariadb but not the folder itself, while the mariadb service assumes that if srv/mariadb exists it is in a valid state and only reinitialises it if it does not exist, meaning it will crash if it exists but is empty.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: erp5_fix_export
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7