port upgrade

Brandon S Allbery KF8NH allbery at kf8nh.com
Thu Jun 24 06:29:54 PDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/23/10 20:40 , Terry Barnum wrote:
> Is there a best practices way of upgrading ports? As a relatively new
> macports user, I've been reluctant to upgrade postfix and dovecot on
> my production server for fear of something breaking.

(1) Back up /opt/local/etc, or the critical directories therein (postfix)
before upgrading ports.  (If you're really paranoid, also the queues
under /opt/local/var.)

(2) Keep the deactivated old version around (that is, don't use -u).

If something goes pear-shaped, you can recover by reactivating the old
version and if necessary restoring the backed-up configuration directory.

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      allbery at kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university      KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwjXcMACgkQIn7hlCsL25W4zgCgt4xjuSiX4Yn1oPQ+5MP2JiQu
O0kAniA9+jcisL1QThR/G9JoGRUBTbvs
=ZWYY
-----END PGP SIGNATURE-----


More information about the macports-users mailing list