dbs_empty1p
Empty sql databases
Overview
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").
Options
--exclude-matching-tables=REGEXP
Excludes any table matching the regular expression REGEXP from dumping.
-t, --tables
Remove tables from database too.
Releases
13 releases since Debian 2.2 (Potato); the text changed 7 times.