Drupal is a registered trademark of Dries Buytaert
Views Bootstrap 5.5.2 Minor update available for module views_bootstrap (5.5.2). oEmbed Providers 3.0.0 Major update available for module oembed_providers (3.0.0). Emulsify Tools 2.2.0 Minor update available for module emulsify_tools (2.2.0). amazee.ai Private AI Provider 1.3.4 Minor update available for module ai_provider_amazeeio (1.3.4). highlight.js Input Filter 2.0.0 Major update available for module highlightjs_input_filter (2.0.0). Webform QR Code Element 1.4.0 Minor update available for module webform_qr_code_element (1.4.0). Comments Order 4.0.0 Major update available for module comments_order (4.0.0). oEmbed Providers 2.2.4 Module oembed_providers updated after 7 months of inactivity (2.2.4). CRM - Contact Relationship Management 1.0.0-beta11 New beta version released for module crm (1.0.0-beta11). Entity comparison Module entity_comparison now has official Drupal security advisory coverage.

Config batch export

89 sites Security covered
View on drupal.org

This module provides a faster and more secure way to export Drupal configuration. It uses a batch process to create a compressed archive of your configuration files, preventing timeouts on slow servers. The exported file is stored privately and automatically deleted after download to protect sensitive data.

This small module allows to download configs archive on slow VPS or hostings with time http timeouts.

For example, if your site is using a CDN the CDN can limit timeout of server response to 30 seconds. If you have a lot of config files, the process of the archive generation can take long time. This module adds a new button for config export in batch process, which allows to prevent getting any timeout errors or etc.

Benefits of the module

1. Speed. It is creating an archive blazingly fast due to adding gzip only at the end of the operation. Even if your site has 2000 or more config files.
2. Uses small amount of RAM due to batch API.
3. No more timeouts issue while creation of the config.
4. Easy download and privacy. File is stored in private dir and deleted within gurbage colleciton after first download. The standard config module stores file in temporary folder and deletes it only when user requires a new file. This is not secure because anyone who has access to the server files can read the file easily at anytime. Configs can contain sensitive data, so it is not needed to store the configs file once it is downloaded.

This module requires that the private filesystem is configured. You can do this by creating a folder in your project root folder and editing the settings.php file to include the following:

$settings['file_private_path'] = "../path_to_private_folder"

Usage

1. Install this module via composer

composer require drupal/config_batch_export

or for dev version

composer require 'drupal/config_batch_export:^2.0'

2. Go to Extensions page (/admin/modules) and enable the module or use drush

drush -y en config_batch_export

3. Go to config export page /admin/config/development/configuration/full/export and there will be a new button "Export in batch"

4. Click this button and wait until it is finished

5. A status message with a download link will be displayed. In order to download configs file click this link.

Activity

Total releases
1
First release
Mar 2026
Latest release
4 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
2.0.0 Stable Mar 19, 2026