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

Run post db updates after snapshot restore #6

Open
hkirsman opened this issue Feb 12, 2024 · 1 comment
Open

Run post db updates after snapshot restore #6

hkirsman opened this issue Feb 12, 2024 · 1 comment

Comments

@hkirsman
Copy link
Collaborator

hkirsman commented Feb 12, 2024

I've seen at least one error after snapshot restor and clear cache helped.

Also snapshots are probably a little-bit behind the codebase so let's run the same post db import script as we do after db import.

@hkirsman
Copy link
Collaborator Author

Tested that this works:

  post-restore-snapshot:
    - exec: "/var/www/html/.ddev/wunderio/core/_run-scripts.sh hooks-db-post-import.sh"

@hkirsman hkirsman changed the title Clear caches after snapshot restore Run post db updates after snapshot restore Apr 23, 2024
hkirsman added a commit that referenced this issue Jun 6, 2024
…ter-snapshot-restore

#6 Run post db updates after snapshot restore.
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