Back up a PostgreSQL database

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

Note: You can use db.py 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 db.py:

Using pg_dump: