Currently when setting up a profile or advanced backup there is a "Database Options" fieldgroup where you can exclude tables/data. There should also be the ability to include specific tables/data.

Say you just want a profile to backup just your content. Currently you have to select all tables except the content specific ones. This works but when a new module is added which adds a field to the database you have to update the profile otherwise it gets backed up as well.

CommentFileSizeAuthor
#1 backup_migrate.include-tables.patch2.39 KBbgilhome

Comments

bgilhome’s picture

Status: Active » Needs review
StatusFileSize
new2.39 KB

Here's a patch which gives an 'Include only' option - if a selection is made, only the selected tables will be backed up, subject to the usual structure & data exclusion settings. Useful for creating eg. a 'Content only' profile, to export only eg. node, node_revisions etc.

couturier’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Given that this patch is 6 years old and created under the 6.x branch, I am closing. If this is still a desired feature, please re-open under the 8.x branch. Also keep in mind that current resources for maintaining this module are extremely limited and mostly devoted to bug fixes and pushing a stable release for 8.x.