1The PGAuth database is no longer a self contained database.
2In order to migrate PGAuth data to the Netmagis database,
3please run the following steps:
4
51- backup databases first
6
7    pg_dump name-of-netmagis-database > netmagis.dump
8    pg_dump name-of-pgauth-database   > pgauth.dump
9
102- run upgrade.sql script
11
12    psql -f upgrade.sql name-of-netmagis-database
13
143- dump and convert PGauth database
15
16    pg_dump --data-only name-of-pgauth-database | \
17	sed -f pgauth.sed > /tmp/pgauth.load
18
194- examine /tmp/pgauth.load file
20
215- load the converted file
22
23    psql -f /tmp/pgauth.load name-of-netmagis-database
24