1 backup.mysql.inc public BackupMySql::defaultSettings()

Get the default settings for this object.

Return value

array: The default tables whose data can be ignored. These tables mostly contain info which can be easily reproduced (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 as access log and watchdog).

Overrides BackupDatabase::defaultSettings

File

core/includes/backup/backup.mysql.inc, line 55
Contains the BackupMySQL class.

Class

BackupMySql
Creates and restores backups from a MySQL database source.

Code

public function defaultSettings() {
  $settings = parent::defaultSettings();
  $settings += array(
    'data_rows_per_query' => 50000,
    'data_rows_per_line' => 10,
    'data_bytes_per_line' => 2048,
  );
  return $settings;
}