dbs_empty
Empty SQL Databases
- Provided by: libdbix-easy-perl (Version: 0.17-1)
- Source: dbix-easy-perl
- Report a bug
Empty SQL Databases
dbs_empty is an utility that completely erases any data from a given SQL database.
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", "racke@linuxia.de" or "@linuxia.de").
--exclude-matching-tables=REGEXP
Excludes any table matching the regular expression REGEXP from
dumping.
-t, --tables
Remove tables from database too.
Stefan Hornburg (Racke), racke@linuxia.de