dbs_empty(1) Empty SQL Databases

DESCRIPTION

dbs_empty is an utility that completely erases any data from a given SQL database.

COMMAND LINE PARAMETERS

Required command line parameters are the DBI driver ("Pg" for Postgres or "mysql" for MySQL) and the database name. The third parameter is optionally and specifies the database user and/or the host where the database resides ("racke", "[email protected]" or "@linuxia.de").

COMMAND LINE OPTIONS

--exclude-matching-tables=REGEXP

Excludes any table matching the regular expression REGEXP from dumping.

-t, --tables

Remove tables from database too.

AUTHOR

Stefan Hornburg (Racke), [email protected]