PHPackages                             nkt/backup-bundle - 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. nkt/backup-bundle

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

nkt/backup-bundle
=================

Symfony bundle for backup your database data

0.1(12y ago)1991MITPHPPHP ~5.3

Since May 25Pushed 12y agoCompare

[ Source](https://github.com/nkt/backup-bundle)[ Packagist](https://packagist.org/packages/nkt/backup-bundle)[ Docs](http://nkt.github.io/backup-bundle/)[ RSS](/packages/nkt-backup-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Backup bundle
=============

[](#backup-bundle)

[![Latest Stable Version](https://camo.githubusercontent.com/6f73e475a9f66ee93d5785143b54a3fe8e77ebf40978b773ffb7262ff3e12560/68747470733a2f2f706f7365722e707567782e6f72672f6e6b742f6261636b75702d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/nkt/backup-bundle) [![Total Downloads](https://camo.githubusercontent.com/6879379df1d68ab2978879de65f1443cf78671ced0538b9dc72e8343271826fa/68747470733a2f2f706f7365722e707567782e6f72672f6e6b742f6261636b75702d62756e646c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/nkt/backup-bundle) [![Latest Unstable Version](https://camo.githubusercontent.com/938cc3752ee3c7396458373e7b301495da2986aff789956ce42eb93785e85f8e/68747470733a2f2f706f7365722e707567782e6f72672f6e6b742f6261636b75702d62756e646c652f762f756e737461626c652e737667)](https://packagist.org/packages/nkt/backup-bundle) [![License](https://camo.githubusercontent.com/b4355fee83cd397ee5ed5295ec68bf167c976bb80b504698d1893c96a0da5a6c/68747470733a2f2f706f7365722e707567782e6f72672f6e6b742f6261636b75702d62756e646c652f6c6963656e73652e737667)](https://packagist.org/packages/nkt/backup-bundle)

Usage
-----

[](#usage)

Add `"nkt/backup-bundle": "1.0.x-dev"` into composer.json.

Add `Nkt\BackupBundle\NktBackupBundle` into your kernel bundles.

Now you can add new cron job, for backup your application:

```
0 */6 * * * /path/to/app/console doctrine:database:backup --gzip=-9
```

You can also restore any backup using

```
/path/to/app/console doctrine:database:restore /path/to/app/backup/backupname.sql.gz
```

Backup options
--------------

[](#backup-options)

Backup filename contains driver name, database name and date. You can change date pattern (by default `Y-m-d-H-i-s`) using `--date-pattern` option.

If you using multiply connections, specify it using `--connection` option or `-c` flag.

By default all backups saves into `path/to/app/backups`, you can change it using `--destination` option or `-d` flag.

As you can see in example, you can compress backups using `--gzip` option. This option required value, you have to specify compress quality.

Restore options
---------------

[](#restore-options)

Restore command required filename by first argument. It also support change connection with `--connection` option or `-c` flag.

You don't have to specify gzipped file. Command checks does filename ends with `.gz` and decompress it.

License
-------

[](#license)

MIT

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

4423d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3505878?v=4)[Nikita Gusakov](/maintainers/nkt)[@nkt](https://github.com/nkt)

---

Tags

backup

### Embed Badge

![Health badge](/badges/nkt-backup-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/nkt-backup-bundle/health.svg)](https://phpackages.com/packages/nkt-backup-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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