Database Backup Tool
GPL-3.0 License
Database Backup Tool
This tool is written by PHP. If your website is also written by PHP, then using this tool does not require additional environment requirements. (The version requirements are described in Compatibility section below)
This tool supports both physical and logical backups. Due physical backup just is file copy, so the backup method supported all databases. However the logical backup only supports MySQL (and MariaDB), in the future will support more databases.
This tool also supports both local and remote storage. The support storage way is detailed below.
DBBT requires PHP 7.0+.
DBBT is well tested only on linux systems, other systems (like: Windows) do not guarantee normal operation.
tar.gz
(if you have GNU tar
software)zip
compress (if you have Zip
PHP extension)For user, it is more recommend to use the PHAR file
cd
to the source code directory.composer install --no-dev
(In this step, you must make sure you have composer).config.etc.php
to config.php
and configure it. (NOTE: config.etc.php
already includes configurationphp run.php
, does not display any messages if execution succeed.php dbbt.phar --config=<config file path>
where 'config file path' is the path of the config file you created.If this tool on the way in the use of the problem or you have any ideas, please go to the Github issues.
The project welcomes anyone to contribute code. For more information, see CONTRIBUTING.md
file.