15 releases

0.2.5 Dec 11, 2021
0.2.4 Dec 11, 2021
0.2.1 Aug 20, 2021
0.2.0 Jun 30, 2021
0.1.1 Dec 22, 2020

#57 in #dump

Download history 12/week @ 2024-02-16 31/week @ 2024-02-23 67/week @ 2024-03-29

67 downloads per month

GPL-3.0 license

31KB
402 lines

dbdump

A database dump tool

How to use

$ dbdump -h
Database dump tool 0.2.5

yuchunzhou <chunzhou.yu@qq.com>

Dump database data to the file

USAGE:
    dbdump [OPTIONS]

OPTIONS:
    -H, --host <host>            Server address [default: 127.0.0.1]
    -P, --port <port>            Server port [default: 3306]
    -k, --kind <kind>            Database kind [default: mysql] [possible values: sqlite, mysql,
                                 postgresql]
    -u, --user <username>        Login username
    -p, --password <password>    Login password
    -d, --database <database>    Database name
    -t, --table <table>          Target table
    -s, --start <start>          Start row [default: 0]
    -n, --rows <rows>            Rows count [default: 10]
    -f, --format <format>        Output file format [default: csv] [possible values: csv, xls]
    -o, --output <output>        Output file path
    -h, --help                   Print help information
    -V, --version                Print version information

Dependencies

~27–44MB
~774K SLoC