Subject: Re: Stopping a common shoot-your-own-foot problem
To: Martijn van Buul <martijnb@atlas.ipv6.stack.nl>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: tech-pkg
Date: 03/30/2005 11:57:37
On Wed, Mar 30, 2005 at 09:11:19AM +0000, Martijn van Buul wrote:
> It occurred to me that Johnny C. Lam wrote in gmane.os.netbsd.devel.packages:
> > I completely agree with you here.  This is why I suspected I may have to 
> > push this type of script into the packages that use db4 instead, e.g. 
> > cyrus-sasl2 (/usr/pkg/etc/sasldb), postfix (hash: maptype), cyrus-imapd 
> > (/var/imap and /var/spool/imap mailboxes), etc.
> 
> Running the risk of suggesting something perpetually stupid here:
> 
> Would it be possible to teach these packages how to backup and restore their
> databases? 

No, because, as said, these databases could be anywhere on the
filesystem, not in a central place like with most SQL servers.  

GH

-- 
:wq