-
+
Backup and Restore
change between releases of
Postgres>. This does not
apply to different patch levels
, these always have
compatible storage formats. For example, releases 7.0.1, 7.1.2, and
- 7.2 are not compatible, whereas 7.1.2 and 7.1.1 are. When you
+ 7.2 are not compatible, whereas &version;.1 and &version;.2 are. When you
update between compatible versions, then you can simply reuse the
data area in disk by the new executables. Otherwise you need to
back up> your data and restore> it on the new
pg_dumpall > backup
pg_ctl stop
mv /usr/local/pgsql /usr/local/pgsql.old
-cd /usr/src/postgresql-7.2
+cd /usr/src/postgresql-&version;
gmake install
initdb -D /usr/local/pgsql/data
postmaster -D /usr/local/pgsql/data