[GRASSLIST:882] Postgresql Upgrade

In planning for an Linux upgrade, it is normal to do a backup and later restore of postgres databases due to internal data format changes in postgres between versions. However, the standard postgres backup command "pg_dumpall" does not find the GRASS database.

Is it necessary to backup and restore the GRASS database, and if so, how is it done?

--
-----------------------------------------------------------
Carl Brown cbsled@ncia.net
------------------------------------------------------

cbsled@ncia.net wrote:

In planning for an Linux upgrade, it is normal to do a backup and
later restore of postgres databases due to internal data format
changes in postgres between versions. However, the standard postgres
backup command "pg_dumpall" does not find the GRASS database.

A GRASS "database" isn't a PostgreSQL database; it's just a directory
tree. While a few GRASS programs (i.e. the ones which end in ".pg")
can use a PostgreSQL database, this isn't the case for most of the
modules.

Is it necessary to backup and restore the GRASS database, and if so,
how is it done?

The format of GRASS files doesn't depend upon the OS, or even the CPU,
so there isn't any need to "export" the data.

--
Glynn Clements <glynn.clements@virgin.net>