---
name: "dbs_dumptabdata"
section: "1p"
platform: "linux"
package: "libdbix-easy-perl"
version: "0.21-1.2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dbs_dumptabdata"
---

# dbs\_dumptabdata(1p)

Creates file set with SQL table data

## NAME

dbs\_dumptabdata - Creates file set with SQL table data

## DESCRIPTION

dbs\_dumptabdata is an utility to create a file set with SQL table data. For each table in the database dbs\_dumptabdata calls the appropriate dumper utility with the output directed to a file named *table*.sql in the current directory. dbs\_dumptabdata asks for a password if necessary.

## 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"`, `"racke@linuxia.de"` or `"@linuxia.de"`).

## COMMAND LINE OPTIONS

### -t TABLE\[,TABLE,...\], --tables=TABLE\[,TABLE,...\]

Comma-separated list of tables to dump.

### --exclude-matching-tables=REGEXP

Excludes any table matching the regular expression REGEXP from dumping.

### --use-printtab

Uses generic dump (similar to `"dbs_printtab"`) instead of the dumper utility provided by the DBMS.

## BUGS

msql is not supported.

## AUTHOR

Stefan Hornburg (Racke), racke@linuxia.de

## SEE ALSO

[**perl**(1)](/perl/1.md), **DBIx::Easy**(3)
