[ZODB-Dev] Restoring from repozo and reusing an index file?

2010-06-11 Thread Paul Winkler
Hi folks, I'm preparing to move a zope site from one host to another. We've been planning to use repozo backups to copy the filestorage from the old host to the new one. I'd like to figure out how to minimize downtime while not losing any data. My plan was: 1. Make a backup, copy it to

Re: [ZODB-Dev] Restoring from repozo and reusing an index file?

2010-06-11 Thread Chris Withers
Paul Winkler wrote: 3 should be pretty fast as its an incremental backup. 4 may take a little while but iirc it's not too bad for this db - maybe 10 minutes. Most of the downtime is caused by rebuilding the index which takes way longer (30 min?) So I had two questions: 1) would it

Re: [ZODB-Dev] Restoring from repozo and reusing an index file?

2010-06-11 Thread Hanno Schlichting
On Fri, Jun 11, 2010 at 3:25 PM, Paul Winkler sli...@gmail.com wrote: I'm preparing to move a zope site from one host to another. We've been planning to use repozo backups to copy the filestorage from the old host to the new one.  I'd like to figure out how to minimize downtime while not

Re: [ZODB-Dev] Restoring from repozo and reusing an index file?

2010-06-11 Thread Paul Winkler
On Fri, Jun 11, 2010 at 10:18 AM, Chris Withers ch...@simplistix.co.ukwrote: Paul Winkler wrote: 3 should be pretty fast as its an incremental backup. 4 may take a little while but iirc it's not too bad for this db - maybe 10 minutes. Most of the downtime is caused by rebuilding the index

Re: [ZODB-Dev] Restoring from repozo and reusing an index file?

2010-06-11 Thread Paul Winkler
On Fri, Jun 11, 2010 at 11:48 AM, Paul Winkler sli...@gmail.com wrote: On Fri, Jun 11, 2010 at 10:34 AM, Hanno Schlichting ha...@hannosch.euwrote: I tend to run rsync via rsync -rP --rsh=ssh. The Data.fs is an append-only file, so rsync is very efficient at handling it. Only zeopack