Magento 2 DB Sync Bash Script


A bash script to syncronise databases from production to staging or development.
View module View docs View issues


This script was written to allow a quick an easy method of copying a production database to staging or development environments. It has the ability to remove sensitive data such as customer and order data as well as custom table exclusions via a conf file.

This system is used at SOZO to keep all staging and development environments database content current while excluding our clients customer data for data protection reasons.

Latest Version



Last Update

Works with

Magento 2.0
Magento 2.1
Magento 2.2
Magento 2.3
Magento 2.4

More Work

Clive Walkden

An update from the old SOZOcms version of my site to the new static generated Jigsaw build

Nutrition X

A Magento 2 build for an award winning sports nutrition site.

Sensory Direct

A Magento 2 build for sensory toys and equipment seller.