[Postfixbuch-users] postgrey migration

Andreas Meyer anmeyer at mailbox.org
Fr Feb 6 20:28:18 CET 2015


Hallo!

Alexander Busam <a.busam at hofmann-foerdertechnik.com> schrieb am 06.02.15 um 16:22:38 Uhr:

> Weiß jemand, wie man die postgrey-db migrieren kann ?
> 
> Alt:
> postgrey 1.3.2 (OpenSuse)
> 
> Neu:
> postgrey 1.3.4 (debian 7.8)

Ich habe dazu folgendes notiert:

Another option is to use the Berkeley DB tools to take occasional exports of
the database.  Even with our 500MB database this only takes around ten 
minutes on our dual-opteron based systems:

db_dump -f /tmp/postgrey_export /var/db/postgrey/postgrey.db

to restore it just use:

db_load -f /tmp/postgrey_export /var/db/postgrey/postgrey.db

I have used this to save the databases during upgrades as well.

HTH

  Andreas



Mehr Informationen über die Mailingliste Postfixbuch-users