Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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)
Comment | File | Size | Author |
---|---|---|---|
#6 | 909486-6-backup_migrate-allow_to_backup_cache_data-6.x.patch | 2.92 KB | David Stosik |
Comments
Comment #1
ronan CreditAttribution: ronan commentedIf 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
Comment #2
TS79 CreditAttribution: TS79 commentedyou are right. ctrl click helps.
thx, thomas
Comment #4
David Stosik CreditAttribution: David Stosik commentedHello,
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
Comment #5
David Stosik CreditAttribution: David Stosik commentedSo, 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.
Comment #6
David Stosik CreditAttribution: David Stosik commentedPlease find patch attached.
Comment #7
ronan CreditAttribution: ronan commentedPatch applied. Thanks!