Skip to content

Creating a database backup from the Nanitor Server

In some cases for migration, backup, or debugging purposes it might be necessary to create a database backup from the Nanitor Server.

  1. Log into the Nanitor server with root privileges
  2. Run the following commands:
su - postgres
pg_dump nanitor > nanitor-backup.sql
gzip nanitor-backup.sql