Hi,

in export setting "Exclude the data from the following tables:"
it is impossible to select no table. If I want to include the cache table, I have to leave any other one....
(path: admin/content/backup_migrate/export)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ronan’s picture

Status: Active » Fixed

If you command click (on a mac, probably ctrl click on windows) a selected row you can deselect it without selecting any other tables. Or try using the link underneath the multi-select to turn it into checkboxes which may make it easier to deselect tables.

Hope this helps
Ronan

TS79’s picture

you are right. ctrl click helps.
thx, thomas

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

David Stosik’s picture

Version: 6.x-2.2 » 6.x-2.6
Status: Closed (fixed) » Active

Hello,

This is still a problem in 6.x-2.6.
If I create a new Profile (or edit a default one), unselect all tables in "exclude the data", save, then get back to the configuration form, all default tables (access logs, cache, watchdog) are selected again.
I need to be able to create a complete database backup where no data is ignored and 6.x-2.6 version of the modules does not allow me that. Something seems to be going wrong, either when merging profile settings and defaults, or when saving the form.

Regards,

David

David Stosik’s picture

So, my problem lives in function _merge_defaults(), in crud.inc:246.
This functions, which acts like array_merge_recursive(), when reaching $params['filters']['destinations']['db']['nodata_tables'], will not consider this as a whole, but dig deeper, and merge table by table. If default tables are not selected in the settings form, then they will be merged to the default element, and get selected.

This behavior does not allow to backup watchdog, or other useful tables we don't want to lose.

David Stosik’s picture

Version: 6.x-2.6 » 6.x-2.x-dev
Status: Active » Needs review
FileSize
2.92 KB

Please find patch attached.

ronan’s picture

Status: Needs review » Fixed

Patch applied. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.