[GRASSLIST:883] Re: Postgresql Upgrade

Glynn Clements glynn.clements at virgin.net
Fri Aug 1 12:11:01 EDT 2003


cbsled at 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 at virgin.net>




More information about the grass-user mailing list