Export only selected table schema and data.
Section: Move data in and out
Dump one table
text
text
.dump usersExplanation
Useful when sharing a fixture or moving just one logical dataset.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Move data in and out
Import CSV with mode and separator
Set shell parsing options before import.
Create a compact backup with VACUUM INTO
Write a fresh copy of the database to a new file.