= Postgres HowTo backup and restore Tags: [[Postgres]] [[HowTo]] See: [[https://www.postgresql.org/docs/9.1/static/backup-dump.html]] == Backup {{{ pg_dump -U username dbname > outfile }}} == Restore {{{ psql -U username dbname < infile }}} [[BackLinks]]