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

Add possibility to run script before doing actual backup #264

Closed
chrl opened this issue May 29, 2021 · 0 comments · Fixed by #265
Closed

Add possibility to run script before doing actual backup #264

chrl opened this issue May 29, 2021 · 0 comments · Fixed by #265

Comments

@chrl
Copy link
Contributor

chrl commented May 29, 2021

Is your feature request related to a problem? Please describe.
I'm doing backups from MySQL using xtrabackup. I love how Walrus is able to do a tar archive of file, but first I need to create a dump with binlogs by running innobackupex /target/dir/.

Describe the solution you'd like
I'd like to have a field called "Before Script" to be able to run any arbitrary script before doing the actual backup.

Additional context
This can also be helpful for sending notifications that backup has started, or even emails. Or, during local development on my mac, I'd use /usr/bin/osascript -e 'display notification "Backup is starting" with title "Walrus" sound name "Submarine"' to show notification in Notification Center. Actually lots of usecases.

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

Successfully merging a pull request may close this issue.

1 participant