Crates.io | dbdump |
lib.rs | dbdump |
version | 0.2.5 |
source | src |
created_at | 2020-12-22 04:46:32.597108 |
updated_at | 2021-12-11 14:06:59.293681 |
description | A database dump tool |
homepage | https://github.com/yuchunzhou/dbdump |
repository | https://github.com/yuchunzhou/dbdump |
max_upload_size | |
id | 325763 |
size | 105,728 |
A database dump tool
$ 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