PHPackages                             cdwv/cronos-database-dumper - 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. cdwv/cronos-database-dumper

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

cdwv/cronos-database-dumper
===========================

Cronos database dumper

1.3(9y ago)41721MITPHP

Since Feb 21Pushed 9y ago5 watchersCompare

[ Source](https://github.com/cdwv/cronos-database-dumper)[ Packagist](https://packagist.org/packages/cdwv/cronos-database-dumper)[ RSS](/packages/cdwv-cronos-database-dumper/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Description
-----------

[](#description)

This bundle populates your crontab with tasks that will backup your databases using mysqldump.

Requirements
------------

[](#requirements)

Backups are created using the `mysqldump` command which means you need to have at least `mysql-client` package installed on your server.

```
sudo apt-get update
sudo apt-get install mysql-client

```

Installation
------------

[](#installation)

run:

```
composer require cdwv/mysql-dumper-command-bundle
composer require cdwv/cronos-database-dumper

```

add bundle to AppKernel:

```
new CodeWave\CronosDatabaseDumperBundle\CodeWaveCronosDatabaseDumperBundle(),
new CodeWave\MysqlDumperCommandBundle\CodeWaveMysqlDumperCommandBundle()

```

Run:
----

[](#run)

```
    cdwv:cronos-database-dumper:update

```

Configuration:
--------------

[](#configuration)

in config.yml, defaults values:

```
    code_wave_cronos_database_dumper:
            minute: 4
            hour: 0
            dumps_location: .
            key: app_name
            php_path: /usr/bin/php
            env: prod
            clean_older_than: 14 #days

```

Crontab:
--------

[](#crontab)

The above configuration will result in the following entry in your crontab:

```
# KEY app_name
0    4    *    *    *    /usr/bin/php __PATH_TO_YOUR_PROJECT__/app/console cdwv:database:dump --env=prod --path=.

0    4    *    *    *    find * -mtime +14 -exec rm {} \;
# END

```

This task will dump **all** of the databases from within your symfony project if there are connections defined for them.

Bear in mind that `__PATH_TO_YOUR_PROJECT__` will contain resolved symlinks which means that you might need to call `cdwv:cronos-database-dumper:update` each time the path to new version of the app will change (e.g. if you have releases named by build number).

License
-------

[](#license)

The MIT License © 2015 - 2016

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 93% 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 ~30 days

Total

5

Last Release

3295d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/be0f390573cc2afcc5890373d56c0bcef0cc2e21566c49159b6585f36374f8c3?d=identicon)[karol.grochowalski@gmail.com](/maintainers/karol.grochowalski@gmail.com)

---

Top Contributors

[![KarolNet](https://avatars.githubusercontent.com/u/5453553?v=4)](https://github.com/KarolNet "KarolNet (40 commits)")[![rg-codewave](https://avatars.githubusercontent.com/u/273291967?v=4)](https://github.com/rg-codewave "rg-codewave (2 commits)")[![andrzejwp](https://avatars.githubusercontent.com/u/3079734?v=4)](https://github.com/andrzejwp "andrzejwp (1 commits)")

---

Tags

cron cronos dump dumper database bundle

### Embed Badge

![Health badge](/badges/cdwv-cronos-database-dumper/health.svg)

```
[![Health](https://phpackages.com/badges/cdwv-cronos-database-dumper/health.svg)](https://phpackages.com/packages/cdwv-cronos-database-dumper)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

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