Hello Jo,
These steps from some older documentation is what I believe works with RDS (and should really be part of the new documentation):
Once the migration is successful, take a database dump of the migrated DB:
pg_dump --no-owner -h <db-host> -p <db-port> -U <db-user> --dbname=<gocd-server-database-name> <db-dump-file-name>.sql
Using the <db-dump-file-name>.sql
created in step 2 above, restore the PostgreSQL database on your Amazon RDS instance:
psql -f <db-dump-file-name>.sql -h <rds-db-endpoint> -p <rds-pg-db-port> -U <rds-pg-db-user> --password --dbname=<rds-pg-db-name>
The above command will prompt for the password. Once the database is restored you can point your GoCD server to that Amazon RDS instance. As always, please have a backup and test this before doing anything.
Cheers,
Aravind