ibrostudio / db-dump-cli
CLI app to generate databases dump.
v1.0.0
2022-01-06 16:59 UTC
Requires
- php: ^7.3|^8.0
- illuminate/database: ^8.40
- laravel-zero/phar-updater: ^1.0.6
- spatie/db-dumper: ^3.1
Requires (Dev)
- fakerphp/faker: ^1.9.1
- laravel-zero/framework: ^8.8
- mockery/mockery: ^1.4.3
- pestphp/pest: ^1.3
This package is not auto-updated.
Last update: 2024-10-26 04:32:11 UTC
README
Simple cli app to generate database dumps, useful in a backup process.
- Each table is dumped in a separated file
- Works only with MySQL databases for now (more to come if needed)
Requirements
mysqldump
Installation
composer global require ibrostudio/db-dump-cli
Usage
Dump
ibro-dcc dump <your-database-name> <your-database-username> <your-database-password> <your-database-host> <your-database-port>
host
and port
can be omitted (default values are 127.0.0.1 and 3306)
Clean up
To remove the dumps:
ibro-dcc clean
Credits
License
The MIT License (MIT). Please see License File for more information.