capistrano-db-tasks
capistrano-db-tasks copied to clipboard
Add capistrano tasks for syncing remote and local database
.1 Firstly `./` on my local env ( Sierra 10.13.2 and Ruby 2.5.0 ) produce this error: ``` rsync: link_stat "/Users/margo/project/./public/storage" failed: No such file or directory (2) ``` .2...
I'm surprised why so much people use privileged user for database access from Rails. App database user should not be allowed to drop/create databases. So I added options to specify...
When using `cap assets:push`, my assets are getting synced to my server into `current`, not `shared`. `current/public/uploads/` is a symlink to `shared/public/uploads/`, but when I `cap assets:push`, it overwrites the...
I am trying to sync my local dev environment with my prod environment. i do not deploy as the database user so it keeps asking me for a pssword which...
https://github.com/sgruhier/capistrano-db-tasks/blob/master/lib/capistrano-db-tasks/dbtasks.rb#L105 causes a new Database::Base object to be created outside of an `on` block, where the logger methods aren't available
I've setting env PATH in the :default_env to point my pgsql binaries. The pg_dump command is executing on the server without these configs so pg_dump is not found. Can I...
This PR is based on changes from #50. It also adds db:remote:restore_latest task, which loads the latest remote dump produced by db:remote:backup back to the database. This can be used...
Hide/silent dump command output on remote server. This is to prevent output of passwords in the terminal.
This is an awesome tool, thanks for the work on it so far. I often just need to create a backup without loading the database onto my local environment though....
Addresses issue #86