Download the PHP package andreas-a/backup-database-bundle without Composer
On this page you can find all versions of the php package andreas-a/backup-database-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download andreas-a/backup-database-bundle
More information about andreas-a/backup-database-bundle
Files in andreas-a/backup-database-bundle
Download andreas-a/backup-database-bundle
More information about andreas-a/backup-database-bundle
Files in andreas-a/backup-database-bundle
Vendor andreas-a
Package backup-database-bundle
Short Description A Symfony bundle that provides a command to easily backup databases.
License MIT
Package backup-database-bundle
Short Description A Symfony bundle that provides a command to easily backup databases.
License MIT
Please rate this library. Is it a good library?
Informations about the package backup-database-bundle
Backup database bundle
This bundle is not maintained anymore!
General
A Symfony bundle that provides a command to easily backup databases.
Note: For now only MySQL is supported. It should also support MariaDB, but that has not been verified.
Requirements
- See
composer.jsonfor most dependencies. - A Unix-like OS.
- The following commands:
mkfifomysqldumpbzip2
- For now the above commands have to be available globally in the current path configuration in the corresponding shell used by the
symfony/processcomponent, so they can be called without requiring the absolute path.
Setup
- Add
AndreasA\BackupDatabaseBundle\AndreasABackupDatabaseBundle::class => ['all' => true],toconfig/bundles.php, if it has not been added bysymfony/flexalready. - Add the file
config/packages/andreas_a_backup_database.yamlwith a content like (example configuration):
Configuration
database_url: The URL to the database.target_directory: The directory where the backups are placed. Those files include the current date and time in their filenames.mysql: Specific options for MySQL backups.ignored_tables: Tables to be ignored during backup. Can also be set to[], if no tables should be ignored.options: These options are used during backup and provided using the MySQL configuration file syntax. Themysqldumpcommand has to support these options. Can also be set to[], if no additional options are necessary.platform_specific_options: Basically the same asoptionsbut here the bundle first checks if themysqldumpcommand supports these options. This is relevant, if you do not know the usedmysqldumpversion. Can also be set to[], if no platform specific options are necessary.
Command
The bundle provides the Symfony command andreas-a:backup:database. It uses the configuration above to create a database backup and can e.g. be used during deployments.
All versions of backup-database-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.3 || ^8.0
symfony/config Version ^4.3 || ^5.0 || ^6.0
symfony/console Version ^4.3 || ^5.0 || ^6.0
symfony/dependency-injection Version ^4.3 || ^5.0 || ^6.0
symfony/filesystem Version ^4.3 || ^5.0 || ^6.0
symfony/framework-bundle Version ^4.3 || ^5.0 || ^6.0
symfony/http-kernel Version ^4.3 || ^5.0 || ^6.0
symfony/process Version ^4.3 || ^5.0 || ^6.0
symfony/yaml Version ^4.3 || ^5.0 || ^6.0
symfony/config Version ^4.3 || ^5.0 || ^6.0
symfony/console Version ^4.3 || ^5.0 || ^6.0
symfony/dependency-injection Version ^4.3 || ^5.0 || ^6.0
symfony/filesystem Version ^4.3 || ^5.0 || ^6.0
symfony/framework-bundle Version ^4.3 || ^5.0 || ^6.0
symfony/http-kernel Version ^4.3 || ^5.0 || ^6.0
symfony/process Version ^4.3 || ^5.0 || ^6.0
symfony/yaml Version ^4.3 || ^5.0 || ^6.0
The package andreas-a/backup-database-bundle contains the following files
Loading the files please wait ...