-
Notifications
You must be signed in to change notification settings - Fork 7
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 database backup/restore tasks through Capistrano #5
Comments
To be useful, https://github.com/sgruhier/capistrano-db-tasks requires to have a local database set up, it's more like mirroring than back up/restore. But it uses sql dumps to do that, so it's not hard to hack the gem in order to download dumps and upload the required. For example, the PR sgruhier/capistrano-db-tasks#50 adds a feature to just dump sql (but only remotely). Itself it is not very useful either. So, how do you think it is supposed to work? |
We could start by submitting a PR in order to add the functionalty to download the dump sql. What do you think ? If you think that this can be a good starting point I can give a look to capistrano-db-tasks this weekend 👍 |
Actually, simple dump&download still requires hacking the capistrano-db-tasks. Which I already did! Here is the PR: sgruhier/capistrano-db-tasks#87. Later today I'll submit a PR here which adds capistrano-db-tasks in a way to support my PR as well. You can then check, if you are fine with it :) |
Add capistrano task for pulling and pushing database data. (Backup and restore operations). Maybe can be useful start from this gem https://github.com/sgruhier/capistrano-db-tasks or newer?
The text was updated successfully, but these errors were encountered: