[Zope] Backup & restore zope

sean.upton@uniontrib.com sean.upton@uniontrib.com
Tue, 11 Jun 2002 12:36:35 -0700


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 )