[Zope] Backup & restore zope
Paul Horbal
horbal@atips.ca
Tue, 11 Jun 2002 13:44:39 -0600
Well, I'm running on Solaris, so that option is out... =)
I think the note that Zope appends to Data.fs pretty much eases all my
fears. The setup I have now seems to be working... It's a cron job running
early each morning, using rsync to duplicate the entire Zope tree onto
another machine. This might seem a little excessive, but keep in mind that
rsync only does diffs, not entire copies. Also, there is a different backup
for each day of the week. So at any given time, I have seven complete
backups of my entire Zope directory. Reminds me of the Simpsons episode
where Mr. Burns brings in the ringers for his baseball team:
"Three misfortunes, that's possible. Seven misfortunates, there's an
outside chance. But nine misfortunes? I'd like to see that!'"
=)
----- Original Message -----
From: <sean.upton@uniontrib.com>
To: <horbal@vlsi.enel.ucalgary.ca>; <zope@zope.org>
Sent: Tuesday, June 11, 2002 1:36 PM
Subject: RE: [Zope] Backup & restore zope
> Something like LFS under Linux with Snapshot capabilities might be useful
in
> this kind of case, because you can leverage this to back up a file at a
> particular slice in time. However, if that slice is taken in the middle
of
> transaction committing to disk, you are likely to still run into trouble,
> but not something that couldn't likely be cleaned up later with something
> like lib/python/ZODB/fsrecover.py or something similar...
>
> Sean
>
> -----Original Message-----
> From: Paul Horbal [mailto:horbal@atips.ca]
> Sent: Monday, June 10, 2002 9:23 PM
> To: zope@zope.org
> Subject: Re: [Zope] Backup & restore zope
>
>
> Is it really necessary to stop Zope when copying Data.fs? Assuming no one
> is logged in to your management interface and you don't have any pages
that
> could alter Data.fs (or don't expect any changes at backup time) is it a
> problem?
>
> I have a script which backs up Data.fs to another machine on a nightly
basis
> (usually around 3 am). The script makes 7 backups, keeping one for each
day
> of the week.
>
> Is it conceivable that I could run into trouble if I don't stop Zope while
> the backup runs?
>
> P.
>
>
> ----- Original Message -----
> From: "Graham King" <Graham.King@team.ozemail.com.au>
> To: <zope@zope.org>
> Sent: Monday, June 10, 2002 8:54 PM
> Subject: RE: [Zope] Backup & restore zope
>
>
> > Just take a live snapshot of your ../var/Data.fs (as the crucial part).
> >
> > To restore: stop Zope, copy this file in place, start Zope.
> >
> > -----Original Message-----
> > From: Jim Kutter [mailto:jim@ebizq.net]
> > Sent: Tuesday, 11 June 2002 12:42
> > To: zope@zope.org
> > Subject: [Zope] Backup & restore zope
> >
> >
> > Hi folks - how does one go about backing up and restoring a production
> Zope
> > server?
> >
> > -jim
> >
> >
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope-dev )
> >
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope-dev )
> >
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>