Re: [Zope] Re: backup full instances

2007-10-29 Thread Jonas Meurer
On 29/10/2007 Sam Stainsby wrote:
> > To quote Andreas Jung:
> > 
> > "An inconsistent copy of the Data.fs is not the problem since
> >  invalid transaction entries will be discarded by the ZODB."
> > 
> 
> That's the theory. But why trust a higher risk strategy, when there is a 
> perfectly good tool for doing full and incremental backup that produces a 
> compact and timestamped backup files as a coherent set of files in a 
> backup repository? Not using it is just laziness. What happens, for 
> instance, if by coincidence the database is being packed by some 
> automated script at the same time as your automated backup occurs?

You're right. I just have to find a way to implement it in the backuppc
backups. It would be awefull if the 'restore' function from backuppc
would still work for Data.fs directly, but that's only possible if the
backupped Data.fs from repozo.py is stored as instance//var/Data.fs
in backuppc. I doubt that this is possible in an easy way.

I'll see. But for sure something has to be changed ;-)

...
 jonas
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: backup full instances

2007-10-29 Thread Jonas Meurer
On 28/10/2007 Sam Stainsby wrote:
> We use the repozo backup (and restore) tool that comes with Zope and 
> include the backup repository in our normal backup regime (which uses 
> backuppc). 
> 
>   /bin/repozo.py
> 
> Read inside the file for the doco. This tool is designed to work with 
> live Data.fs files. Apart from some sort of live replication, it is the 
> only way to go as far as I'm concerned, unless you are unconcerned about 
> the possibility of corrupted backups.

Hey,

>From what others said, a local copy of the 'live Data.fs' is safe as
well, as zope appends new transactions to the end of Data.fs.

To quote Andreas Jung:

"An inconsistent copy of the Data.fs is not the problem since
 invalid transaction entries will be discarded by the ZODB."

greetings,
 jonas
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )