Purpose

Kill switch for the pre-write safety dump. Before the bootstrap writer touches the database it creates a mysqldump backup by default. Installs that run their own backup strategy can disable this dump.

Notes:

  • When mysqldump is not on PATH, the dump is skipped automatically (with a log line) — the filter is not needed for that case.
  • WR’s own JSON snapshot (BackupManager) still runs before the migration runner and covers the WRDO graph independently of this filter.

Usage

add_filter( 'wr_bundle_bootstrap_backup_enabled', '__return_false' );

Parameters

  • $enabled (bool): Default true. Return false to skip the pre-write mysqldump.