SMIT.

SMIT.

Planned

I would like to propose a new feature that enables running a MySQL backup job as part of the deployment process. This could be implemented similarly to the existing {RUN_SCRIPT [1,2]} functionality, but with a backup ID.

example:

git pull origin {BRANCH}
npm install
# Run a MySQL backup here and continue when done.
{BACKUP_JOB [12]}
####
npm run create-snapshot
npx directus database migrate:latest

By integrating a MySQL backup job into the deployment script, users can ensure that their database is backed up before proceeding with any migrations or updates. This provides an additional layer of safety and can help prevent data loss during the deployment process.

Sebastiaan

Sebastiaan

· · Edited
·

Yes this is exactly what I need!

1 total vote
Lambert
You may use @ to mention someone.

Integrate MySQL Backup Job into Deployment Script

18 total votes
  • Dennis moved item to board Planned

    1 year ago
  • Dennis moved item to board Under review

    1 year ago
  • SMIT. moved item to project Site Level Requests

    1 year ago
  • SMIT. created the item

    1 year ago