how to dump postgres databases in local file code example Example: psql load dump psql databasename < data_base_dump