Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Entity Usage 5.0.0 Major update available for module entity_usage (5.0.0). Release: Entity Usage 8.x-2.3 Minor update available for module entity_usage (8.x-2.3). Release: Modeler API 1.1.7 Minor update available for module modeler_api (1.1.7). Release: Excel Serialization 2.2.0 Minor update available for module xls_serialization (2.2.0). Release: Custom Field 4.0.12 Minor update available for module custom_field (4.0.12). Release: Custom Field 5.0.3 Minor update available for module custom_field (5.0.3). Release: GraphQL Compose 2.4.2 Minor update available for module graphql_compose (2.4.2). Release: Freja eID for Drupal 1.0.1 Minor update available for module freja_eid (1.0.1). Module Revived: Two-factor Authentication (TFA) 8.x-1.13 Module tfa updated after 10 months of inactivity (8.x-1.13). Usage Milestone: Easy Email Module easy_email crossed 10,000 active installs.

Config batch export

94 sites Security covered Drupal 9–11
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.

Depends on

Dependencies of the latest stable release

  • config Drupal core
  • datetime Drupal core
  • file Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Mar 2026
Latest release
5 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
2.0.0 Stable 9–11 Mar 19, 2026