function _backup_migrate_default_structure_only_tables in Backup and Migrate 5.2
Same name and namespace in other branches
- 8.2 includes/db.inc \_backup_migrate_default_structure_only_tables()
- 5 backup_migrate.module \_backup_migrate_default_structure_only_tables()
- 6 backup_migrate.module \_backup_migrate_default_structure_only_tables()
Return the default tables whose data can be ignored. These tables mostly contain info which can be easily reproducted (such as cache or search index) but also tables which can become quite bloated but are not necessarily extremely important to back up or migrate during development (such ass access log and watchdog)
2 calls to _backup_migrate_default_structure_only_tables()
- _backup_migrate_profile_default_profile in includes/
profiles.inc - Get the default profile.
- _backup_migrate_setup_databaase_defaults in ./
backup_migrate.install
File
- includes/
db.inc, line 187 - General database dump/restore code for Backup and Migrate.
Code
function _backup_migrate_default_structure_only_tables() {
$core = array(
'cache',
'cache_filter',
'cache_calendar_ical',
'cache_menu',
'cache_page',
'cache_views',
'sessions',
'search_dataset',
'search_index',
'search_keywords_log',
'search_total',
'watchdog',
'accesslog',
'devel_queries',
'devel_times',
);
$alltables = array_merge($core, module_invoke_all('devel_caches'));
return $alltables;
}