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

Prexecute and postexecute scripts #19

Closed
SrZorro opened this issue Jun 4, 2018 · 0 comments
Closed

Prexecute and postexecute scripts #19

SrZorro opened this issue Jun 4, 2018 · 0 comments

Comments

@SrZorro
Copy link

SrZorro commented Jun 4, 2018

Add the ability to execute scripts before and after volumerize does his job.

In my setup i need to backup a mariadb and mongodb containers, but instead of saving the volumes as it is i need a way to backup the databases processed (aka mongodump and mysqldump) and the final processed result save it with volumerize.

So, instead of adding a special way to do it for mongo and another for mysql, i think its better if there is some way to execute arbitrary scripts, so if another person has a diferent need (like copying some files around or what not) he can implement his own prexecute and postexecute strategies.

blacklabelops pushed a commit that referenced this issue Jun 4, 2018
Crude postexecute and prexecute implementation for issue #19
@SrZorro SrZorro closed this as completed Jun 4, 2018
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