PHPackages                             kmi/db-sync-tool - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. kmi/db-sync-tool

ActiveProject[Database &amp; ORM](/categories/database)

kmi/db-sync-tool
================

Python script to synchronize a database from and to client systems.

3.0.3(5mo ago)323.5k8[1 issues](https://github.com/konradmichalik/db-sync-tool/issues)[1 PRs](https://github.com/konradmichalik/db-sync-tool/pulls)MITPythonCI failing

Since Apr 14Pushed 4mo ago5 watchersCompare

[ Source](https://github.com/konradmichalik/db-sync-tool)[ Packagist](https://packagist.org/packages/kmi/db-sync-tool)[ Docs](https://github.com/jackd248/db-sync-tool)[ RSS](/packages/kmi-db-sync-tool/feed)WikiDiscussions main Synced today

READMEChangelog (4)DependenciesVersions (123)Used By (0)

[![db-sync-tool](docs/images/db-sync-tool-example-receiver.gif)](docs/images/db-sync-tool-example-receiver.gif)

[![PyPI - Python Version](https://camo.githubusercontent.com/2dc27ed0f8ebb08ad044ad2984f3a9fe280a1fb483a8951b48557e39542a325a/68747470733a2f2f696d672e736869656c64732e696f2f707970692f707976657273696f6e732f64625f73796e635f746f6f6c2d6b6d69)](https://pypi.org/project/db-sync-tool-kmi/)[![PyPI](https://camo.githubusercontent.com/f94a819c148d139240b89ed48c29c80572dfc278c423bd44b1c2c7ec63f4d595/68747470733a2f2f696d672e736869656c64732e696f2f707970692f762f64625f73796e635f746f6f6c2d6b6d69)](https://pypi.org/project/db-sync-tool-kmi/)[![PyPI - Downloads](https://camo.githubusercontent.com/d9b1a41cc453b62707744f5e4eebb69a2d7fc20ab9a3f56ac1bf34aad8bce3b8/68747470733a2f2f696d672e736869656c64732e696f2f707970692f646d2f64622d73796e632d746f6f6c2d6b6d69)](https://pypi.org/project/db-sync-tool-kmi/)[![Downloads](https://camo.githubusercontent.com/1e995d485ad2b50ccddab29dc33670a54943e027dfbc0a6ff112655157f7cb33/68747470733a2f2f7374617469632e706570792e746563682f62616467652f64622d73796e632d746f6f6c2d6b6d69)](https://pepy.tech/project/db-sync-tool-kmi)

Db Sync Tool
============

[](#db-sync-tool)

A Python CLI to synchronize MySQL/MariaDB databases between systems with automatic credential extraction.

[**Explore the docs »**](https://konradmichalik.github.io/db-sync-tool/)

[Report Bug](https://github.com/konradmichalik/db-sync-tool/issues/new) · [Request Feature](https://github.com/konradmichalik/db-sync-tool/issues/new) · [Latest Release](https://github.com/konradmichalik/db-sync-tool/releases/latest)

✨ Features
----------

[](#-features)

- Sync databases from and to remote systems via SSH
- Proxy mode for transfers between isolated environments
- Automatic credential extraction from PHP frameworks
    - TYPO3, Symfony, Drupal, WordPress, Laravel
- Auto-discovery configuration for quick syncs
- Host protection to prevent accidental overwrites
- Optimized transfers with gzip compression and rsync

🚀 Getting Started
-----------------

[](#-getting-started)

```
# Install via pip
pip install db-sync-tool-kmi

# Sync using auto-discovery
db_sync_tool production local

# Or use a config file
db_sync_tool -f config.yaml
```

Find more [installation methods](https://konradmichalik.github.io/db-sync-tool/getting-started/installation) in the documentation.

📕 Documentation
---------------

[](#-documentation)

Find all configuration options, sync modes, and framework guides in the [official documentation](https://konradmichalik.github.io/db-sync-tool/).

🧑‍💻 Contributing
----------------

[](#‍-contributing)

Please have a look at [`CONTRIBUTING.md`](CONTRIBUTING.md).

⭐ License
---------

[](#-license)

This project is licensed under the MIT License.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance74

Regular maintenance activity

Popularity29

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 97.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~23 days

Total

91

Last Release

154d ago

Major Versions

0.5.0 → 1.0.02020-05-24

1.8.0 → 2.0.02020-11-03

2.11.12 → 3.0.02026-01-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/11557705846f24da32a0e6e75c460db505c1b847f081ddaa3d27f3ea27f4097b?d=identicon)[konradmichalik](/maintainers/konradmichalik)

---

Top Contributors

[![konradmichalik](https://avatars.githubusercontent.com/u/4558190?v=4)](https://github.com/konradmichalik "konradmichalik (282 commits)")[![hirnsturm](https://avatars.githubusercontent.com/u/6859265?v=4)](https://github.com/hirnsturm "hirnsturm (2 commits)")[![nlemoine](https://avatars.githubusercontent.com/u/2526939?v=4)](https://github.com/nlemoine "nlemoine (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![tgaertner](https://avatars.githubusercontent.com/u/2931506?v=4)](https://github.com/tgaertner "tgaertner (1 commits)")

---

Tags

database-syncdatabase-synchronizationpythonpython3symfony3symfony4typo3symfonywordpressdatabaseexportdrupalimportsynctypo3synchronisation

### Embed Badge

![Health badge](/badges/kmi-db-sync-tool/health.svg)

```
[![Health](https://phpackages.com/badges/kmi-db-sync-tool/health.svg)](https://phpackages.com/packages/kmi-db-sync-tool)
```

###  Alternatives

[rah/danpu

Zero-dependency MySQL dump library for easily exporting and importing databases

62414.3k11](/packages/rah-danpu)[pixelstudio/wp-sync-db

WordPress plugin to sync database between different installs

462.5k1](/packages/pixelstudio-wp-sync-db)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
