mysql - Usage of capistranodb_ignore_tables and db_ignore_data_tables option -


i use capistrano-db-tasks.

how skip table while running cap production db:pull task?

ideally need way download production db without 1 table (versions).

from documentation:

# if want exclude table dump set :db_ignore_tables, []  # if want exclude table data (but not table schema) dump set :db_ignore_data_tables, [] 

i tried following (in config/deploy.rb):

set :db_ignore_tables, [:versions] set :db_ignore_data_tables, [:versions] 

but seem still download whole versions table data :(.

any ideas appreciated!

as occurred, db_ignore_data_tables not available mysql database, , postgresql.

unfortunate fact.

also, db_ignore_tables option not available gem release version, should specify want use github:

gem 'capistrano-db-tasks', require: false, github: 'sgruhier/capistrano-db-tasks' 

Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

javascript - Rivets.js rv-show not working with rv-each -