[Zope] Backup Zope once a day
Gitte Wange
gitte@babytux.dk
Fri, 10 Aug 2001 15:02:22 +0200
On Friday 10 August 2001 14:51, you wrote:
> Hi Gitte,
>
> I'm not sure you really need to! Are you concerned about backing up
> Data.fs in the middle of a write? Because of the way FileStorage works
> objects are added to the end, the worst case is that you'd lose the last
> transaction. However, to be squeaky clean, you could:
>
> stop Zope
> restart Zope in "readonly" mode (./start -r)
> backup
> stop Zope
> restart Zope in "read/write" mode.
>
> -steve
Well .... last night I tried to create a tarball from the zope-dir while Zope
was running .. and someone accessed our website (Data.fs changed I guess) and
tar exited with an error. When I stopped Zope and created the tarball
everything went fine ...
How while users experience the website if Zope is running i read-only mode ?
While it still be working ?
Gitte
> On Friday, August 10, 2001, at 04:30 AM, Gitte Wange wrote:
> > Hello,
> >
> > I have created a little cron script that creates a daily tarball from my
> > entire Zope dir.
> > But in order to do this I must stop Zope - create the tarball and then
> > start
> > Zope again.
> >
> > I now that Zope will only be down for about 2 minutes or so but
> > customers
> > don't like that :-)
> >
> > So I was wondering if there was a way to do a daily backup without
> > stopping
> > Zope ?
> >
> > Regards,
> >
> > --
> > Gitte Wange Jensen
> >
> > Sys Admin, Developer and a lot more
> > MMmanager.org Aps, Denmark
> >
> > Phone: +45 29 72 79 72
> > Email: gitte@mmmanager.org
> > Web: www.mmmanager.org
> >
> > Quote of the day:
> > Chris McDonough: "We should kill two birds with one stone with this..."
> > Ethan Fremen: "Oh, believe me, we've got LOTS of birds lined up to
> > die..."
> >
> > - Ethan Fremen, f2f conversation with chrism, 2001/04/13
> >
> > _______________________________________________
> > 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 )