I am using the Backup and Migrate Module (Still learning, but have used Drupal 7 for 10+ years). When I restore from the backup, the blocks and theme settings are not restored, just the page and article content. Am I missing something?
I am using the Backup and Migrate Module (Still learning, but have used Drupal 7 for 10+ years). When I restore from the backup, the blocks and theme settings are not restored, just the page and article content. Am I missing something?
Blocks and many/most settings in Backdrop are stored as configuration in *.json
files.
So, in addition to backing up your database you'll want to back up your configuration files as well.
You can export your configuration from /admin/config/development/configuration/full/export
Importing the database and the configuration should restore your site. here is a little more detail on the situation: https://serundeputy.io/backdrop-cmi
There is an issue in the backup_migrate
issue queue to support backup of config as well, but it is not implemented yet.
Sorry! I thought I had responded to this a very long time ago!
Thanks for the info!
If your config files are in the default location they will get backed up if you do a full backup of files and database.
Blocks and many/most settings in Backdrop are stored as configuration in
*.json
files.So, in addition to backing up your database you'll want to back up your configuration files as well.
You can export your configuration from
/admin/config/development/configuration/full/export
Importing the database and the configuration should restore your site. here is a little more detail on the situation: https://serundeputy.io/backdrop-cmi
There is an issue in the
backup_migrate
issue queue to support backup of config as well, but it is not implemented yet.