jma / backup-bundle
Lets make a backup of the database
Installs: 264
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/jma/backup-bundle
Requires
- doctrine/doctrine-bundle: ~1.3
- symfony/symfony: ~2.5
Requires (Dev)
- phpunit/phpunit: ~4.2
This package is auto-updated.
Last update: 2025-10-14 01:52:00 UTC
README
Provide a simple Symfony 2 Bundle to backup database via one command.
Installing via Composer
{
"require": {
"jma/backup-bundle": "dev-master"
}
}
Using and Setting Up
Kernel.php
public function registerBundles() { $bundles = array( new Jma\BackupBundle() ); }
To provide custom backup dir. Add a config options in your config.yml, like:
jma_backup: dir: "%kernel.root_dir%/backup"
Then to access this setup call:
$this->get('jma_backup.dir');