[Zope] Automatic backup of ZODB

Toby Dickenson tdickenson at geminidataloggers.com
Thu Oct 9 09:51:06 EDT 2003


On Thursday 09 October 2003 14:34, Chris Withers wrote:
> Alvaro Jesus Hernandez Arteaga wrote:
> > I try to do a ZODB packing and backup, I read Maintaining Zope unit in
> > Zope Book and type the python script (zope-pack) but when run it request
> > admin login and password.
> >
> > How to do to pass login and password in zope-pack script
>
> If it's backup you want, I'd just copy Data.fs as part of a cron job
> running on the server...

...taking care to use fsync at the right places to avoid data loss if your 
machine crashes half way through the copy.

-- 
Toby Dickenson




More information about the Zope mailing list