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

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

hmillet/backup-commands-bundle
==============================

Provides backup commands for your Symfony application, with the ability to push backup files to a dropbox

v3.0(8y ago)11.1kMITPHPPHP &gt;=5.3.2

Since Mar 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/hmillet/backupcommands)[ Packagist](https://packagist.org/packages/hmillet/backup-commands-bundle)[ Docs](https://github.com/hmillet/backupcommands)[ RSS](/packages/hmillet-backup-commands-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Hmillet Backup Commands Bundle
==============================

[](#hmillet-backup-commands-bundle)

This bundle provides symfony console commands that allow you to backup your database and your files in your dropbox

[![SensioLabsInsight](https://camo.githubusercontent.com/55468e6ee9316f853d01c3f834505d83d571a2fc5c972039b7f51549039b4be4/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f30366332333961312d363439372d343231302d623936612d3063643964386530356537392f6269672e706e67)](https://insight.sensiolabs.com/projects/06c239a1-6497-4210-b96a-0cd9d8e05e79)

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

[](#installation)

### Step 1

[](#step-1)

#### Using Composer

[](#using-composer)

Add the following code to your composer.json :

```
"require": {
    ...
    "hmillet/backup-commands-bundle": "dev-master"
    ...
},

```

Run a Composer update

```
$ php composer.phar update

```

### Step 2

[](#step-2)

Register the bundle in the `AppKernel.php` file :

```
public function registerBundles()
{
    $bundles = array(
        ...
        new Hmillet\BackupCommandsBundle\HmilletBackupCommandsBundle(),
        ...
    );

    return $bundles;
}

```

### Step 3 (optionnal)

[](#step-3-optionnal)

Add parameters and configuration for the bundle, so it can read and write to your dropbox.

First of all, you have to get an access token. In order to get it, just run :

```
php app/console dropbox:setup

```

in app/config/parameters.yml-dist (otherwise, "composer.phar update" will remove your parameter from parameters.yml), add the line :

```
backup_dropbox_access_token: ~

```

in app/config/parameters.yml, add the line given by the above command :

```
backup_dropbox_access_token: your token

```

in app/config/config.yml, add the lines :

```
hmillet_backup_commands:
    dropbox:
        access_token: %backup_dropbox_access_token%

```

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

[](#requirements)

This bundle needs (in local and remote server)

- mysql (commandline)
- mysqldump (commandline)
- bunzip2 (commandline)

See the [Getting Started](https://github.com/kunalvarma05/dropbox-php-sdk/wiki/Getting-Started) page of the [dropbox-sdk-php](https://github.com/kunalvarma05/dropbox-php-sdk) library.

Command line
------------

[](#command-line)

Now from your console you can run

```
./app/console db:dump

```

and see that a new file has been saved in folder /app/tmp/dump with an hard link to the newest one.

You can run

```
./app/console db:restore

```

and choose which file you want to restore.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~367 days

Total

3

Last Release

2984d ago

Major Versions

v2.1 → v3.02018-03-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/bfeae60856f4136474d05cf5182b63ef96e44bd05357bfb5cd3e3e7861a615d0?d=identicon)[hmillet](/maintainers/hmillet)

---

Top Contributors

[![fabiofabbrucci](https://avatars.githubusercontent.com/u/103877?v=4)](https://github.com/fabiofabbrucci "fabiofabbrucci (18 commits)")[![hmillet](https://avatars.githubusercontent.com/u/2003913?v=4)](https://github.com/hmillet "hmillet (16 commits)")[![tborealis](https://avatars.githubusercontent.com/u/1591228?v=4)](https://github.com/tborealis "tborealis (2 commits)")

---

Tags

databasebackupmysqldoctrinedropbox

### Embed Badge

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

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

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M35](/packages/scienta-doctrine-json-functions)[mysql-workbench-schema-exporter/mysql-workbench-schema-exporter

MySQL Workbench Schema Exporter

488188.5k10](/packages/mysql-workbench-schema-exporter-mysql-workbench-schema-exporter)[rah/danpu

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

64401.8k10](/packages/rah-danpu)[mysql-workbench-schema-exporter/doctrine2-exporter

MySQL Workbench Schema Exporter for Doctrine 2

25143.3k2](/packages/mysql-workbench-schema-exporter-doctrine2-exporter)[phelium/mysql-backup

Backup easily your MySQL database !

278.2k2](/packages/phelium-mysql-backup)

PHPackages © 2026

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