PHPackages                             frcho/backup-manager - 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. frcho/backup-manager

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

frcho/backup-manager
====================

A simple database backup manager for Symfony2 with support for S3, Rackspace, Dropbox, FTP, SFTP.

1.0.1(8y ago)02.3kMITPHPPHP &gt;=5.5.9

Since Aug 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/frcho/backup-manager)[ Packagist](https://packagist.org/packages/frcho/backup-manager)[ RSS](/packages/frcho-backup-manager/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (12)Versions (3)Used By (0)

FrchoBackupManagerBundle
========================

[](#frchobackupmanagerbundle)

A simple database backup manager for Symfony 4 with support for S3, Rackspace, Dropbox, FTP, SFTP.

This package pulls in the framework agnostic [Backup Manager](https://github.com/backup-manager/backup-manager) and provides seamless integration with **Symfony**.

for previous version of symfony use tag 1.0.1

Installation
============

[](#installation)

Step 1: Download the Bundle
---------------------------

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require frcho/backup-manager "dev-master"
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Step 2: Configure your databases and filesystems
------------------------------------------------

[](#step-2-configure-your-databases-and-filesystems)

```
# config/packages/frcho_backup_manager.yaml

frcho_backup_manager:
    database:
        development:
            type: mysql
            host: localhost
            port: 3306
            user: root
            pass: password
            database: test
        production:
            type: postgresql
            host: localhost
            port: 5432
            user: postgres
            pass: password
            database: test
    storage:
        local:
            type: Local
            root: /path/to/working/directory
        s3:
            type: AwsS3
            key:
            secret:
            region: us-east-1
            version: latest
            bucket:
            root:
        rackspace:
            type: Rackspace
            username:
            password:
            container:
        dropbox:
            type: Dropbox
            token:
            key:
            secret:
            app:
            root:
        ftp:
            type: Ftp
            host:
            username:
            password:
            root:
            port: 21
            passive: true
            ssl: true
            timeout: 30
        sftp:
            type: Sftp
            host:
            username:
            password:
            root:
            port: 21
            timeout: 10
            privateKey:
```

Usage
=====

[](#usage)

Backup to / restore from any configured database.
-------------------------------------------------

[](#backup-to--restore-from-any-configured-database)

Backup the development database to `Amazon S3`. The S3 backup path will be `test/backup.sql.gz` in the end, when `gzip` is done with it.

```
$container->get('backup_manager')->makeBackup()->run('development', array(new Destination('s3', 'test/backup.sql.gz')), 'gzip');
```

Backup the development database to `Local`. The local backup path will be `test/backup.sql.gz` in the end, when `gzip` is done with it.

```
$container->get('backup_manager')->makeBackup()->run('development', array(new Destination('local', 'test/backup.sql.gz')), 'gzip');
```

Note: if you want upload files without compress pass like parameter a string 'null' instead of `gzip`

Backup to / restore from any configured filesystem.
---------------------------------------------------

[](#backup-to--restore-from-any-configured-filesystem)

Restore the database file `test/backup.sql.gz` from `Amazon S3` to the `development` database.

```
$this->container->get('backup_manager')->makeRestore()->run('s3', 'test/backup.sql.gz', 'development', 'gzip');
```

> This package does not allow you to backup from one database type and restore to another. A MySQL dump is not compatible with PostgreSQL.

Requirements
============

[](#requirements)

- PHP 7.0
- MySQL support requires `mysqldump` and `mysql` command-line binaries
- PostgreSQL support requires `pg_dump` and `psql` command-line binaries
- Gzip support requires `gzip` and `gunzip` command-line binaries

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~355 days

Total

2

Last Release

3248d ago

### Community

Maintainers

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

---

Top Contributors

[![frcho](https://avatars.githubusercontent.com/u/2415594?v=4)](https://github.com/frcho "frcho (23 commits)")

---

Tags

ftpsymfonys3sftpdatabasebackupdropboxrackspace

### Embed Badge

![Health badge](/badges/frcho-backup-manager/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[backup-manager/symfony

A simple database backup manager for Symfony2 with support for S3, Rackspace, Dropbox, FTP, SFTP.

119297.2k3](/packages/backup-manager-symfony)

PHPackages © 2026

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