PHPackages                             fpasquer/symfony-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. [File &amp; Storage](/categories/file-storage)
4. /
5. fpasquer/symfony-backup-bundle

ActiveLibrary[File &amp; Storage](/categories/file-storage)

fpasquer/symfony-backup-bundle
==============================

Manage Mysql database backup.

039PHP

Since May 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/fpasquer/SymfonyBackup)[ Packagist](https://packagist.org/packages/fpasquer/symfony-backup-bundle)[ RSS](/packages/fpasquer-symfony-backup-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#Export / Import Mysql Database with symfony.

Install:

```
composer require fpasquer/symfony-backup-bundle
```

\##details: Credentials will be pickup from `.env` file

You need to setup this list in the file below:

- pathMysqlDump
- pathBackup

> vendor\\Fpasquer\\SymfonyBackup\\src\\Resources\\config\\setting.yaml

\##2 Class compose this bundle

- DetailBackup
- ManagerBackup

\##DetailBackup Is to store Database connection

```
use Psr\Container\ContainerInterface;

public function test(ContainerInterface $container)
{
    $connection = $container->get('database_connection');
    $this->detailBackup = new DetailBackup($connection);
}
```

\##ManagerBackup Is the main part of this bundle. This class can export / import the database

\##This bundle give you access to 3 commands

- BackupSymfony:extract
- BackupSymfony:import
- BackupSymfony:safetyDrop

\##BackupSymfony:extract Create `.sql` in the folder `pathBackup`

```
php bin/console BackupSymfony:extract
```

\##BackupSymfony:import Search the filename given to in `pathBackup` and import it in the database

```
php bin/console BackupSymfony:import
```

\##BackupSymfony:safetyDrop Call `BackupSymfony:extract` and if success `doctrine:database:drop --force`

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16100017?v=4)[Florian PASQUEREAU](/maintainers/fpasquer)[@fpasquer](https://github.com/fpasquer)

---

Top Contributors

[![fpasquer](https://avatars.githubusercontent.com/u/16100017?v=4)](https://github.com/fpasquer "fpasquer (21 commits)")

### Embed Badge

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

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

PHPackages © 2026

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