Database transfer guide
By following the steps outlined in this guide, you can safely and effectively transfer the AppSec Portal's database to a new host
Step 1: Preparing the New Host
docker exec -i appsec-portal_postgres_1 dropdb -U <DB_USERNAME> <DB_NAME>docker exec -i appsec-portal_postgres_1 createdb -U <DB_USERNAME> <DB_NAME>Step 2: Create a Database Dump on the Current Host
cd /path/to/destination_directorydocker exec -i appsec-portal_postgres_1 pg_dump -U <DB_USERNAME> <DB_NAME> > pg_dumpStep 3: Transfer the Database Dump to the New Host
Step 4: Restore the Database on the New Host
Last updated