ensembl-hive
2.1
|
This is a Runnable to dump the tables of a database (by default, all of them). The following parameters are accepted: - src_db_conn : the connection parameters to the database to be dumped (by default, the current eHive database if available) - exclude_ehive [boolean=0] : do we exclude the eHive-specific tables from the dump - table_list [string or array of strings]: the list of tables to include in the dump. The '%' wildcard is accepted. - exclude_list [boolean=0] : do we consider 'table_list' as a list of tables to be excluded from the dump (instead of included) - output_file [string] : the file to write the dump to. If the filename ends with ".gz", the file is compressed with "gzip" (default parameters) - output_db [string] : URL of a database to write the dump to. In this mode, the Runnable acts like MySQLTransfer If "table_list" is undefined or maps to an empty list, the list of tables to be dumped is decided accordingly to "exclude_list" (EL) and "exclude_ehive" (EH). "exclude_list" controls the whole list of non-eHive tables. EL EH List of tables to dump 0 0 => all the tables 0 1 => all the tables, except the eHive ones 1 0 => all the tables, except the non-eHive ones = only the eHive tables 1 1 => both eHive and non-eHive tables are excluded = nothing is dumped If "table_list" is defined to non-empty list T, the table of decision is: EL EH List of tables to dump 0 0 => all the tables in T + the eHive tables 0 1 => all the tables in T 1 0 => all the tables, except the ones in T 1 1 => all the tables, except the ones in T and the eHive ones
protected Bio::EnsEMBL::Hive::RunnableDB::DatabaseDumper::_get_table_list | ( | ) |
Undocumented method
public Bio::EnsEMBL::Hive::RunnableDB::DatabaseDumper::fetch_input | ( | ) |
Undocumented method
public Bio::EnsEMBL::Hive::RunnableDB::DatabaseDumper::mysql_conn_from_dbc | ( | ) |
Undocumented method
public Bio::EnsEMBL::Hive::RunnableDB::DatabaseDumper::run | ( | ) |
Undocumented method