ibrostudio/db-dump-cli

CLI app to generate databases dump.

v1.0.0 2022-01-06 16:59 UTC

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.