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.
- Log into the Nanitor server with root privileges
- Run the following commands:
su - postgres
pg_dump nanitor > nanitor-backup.sql
gzip nanitor-backup.sql