Back up a PostgreSQL database

To back up a PostgreSQL database, use the script or the pg_dump command depending on your setup.

Note: You can use to back up PostgreSQL data in all setups except the dedicated database server setup where ctf (TeamForge database) is not installed. In a dedicated database setup, you can back up the PostgreSQL database safely while it is online by using the native pg_dump command.


Using pg_dump: