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

#1053 in Command line utilities

Download history 1/week @ 2022-11-21 1/week @ 2022-12-05 16/week @ 2022-12-12 1/week @ 2022-12-19 1/week @ 2022-12-26 1/week @ 2023-01-02 1/week @ 2023-01-16 4/week @ 2023-01-23 7/week @ 2023-01-30 27/week @ 2023-02-06 32/week @ 2023-02-13 30/week @ 2023-02-20

62 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

~20–31MB
~616K SLoC