For Postgres is there any sort of command line utilities that allow a database to be "dumped to a file" and that allow that same database dump to be imported?
I know this can be done through PGAdmin, but I need to be able to do this on the cmd line.
Yeah, take a look into pg_dump and pg_restore
http://www.postgresql.org/docs/current/static/app-pgdump.html
http://www.postgresql.org/docs/current/static/app-pgrestore.html
pg_dump and another for pg_restore), that would have been much more helpfulpg_restore -U postgres -W -d dvdrental /tmp/dvdrental.tar -U is username -W is password (not put password in this line, it will appear a promt) -d is database and finally specify path of file
psqltool which ships with the server?