Re: [Zope] backup full instances

2007-10-27 Thread Jonas Meurer
On 26/10/2007 Andreas Jung wrote: >> Is it safe in general to copy Data.fs while the instance is running? Or >> might I end up with a broken Data.fs, which zope is not able to read at >> all? > > If you create a local copy, it is safe. If you rsync a running Data.fs, it > is not safe. In this case

Re: [Zope] backup full instances

2007-10-27 Thread Andreas Jung
--On 27. Oktober 2007 16:29:18 +0200 Jonas Meurer <[EMAIL PROTECTED]> wrote: On 26/10/2007 Andreas Jung wrote: Is it safe in general to copy Data.fs while the instance is running? Or might I end up with a broken Data.fs, which zope is not able to read at all? If you create a local copy, i

Re: [Zope] backup full instances

2007-10-27 Thread Jonas Meurer
On 27/10/2007 Andreas Jung wrote: >>> If you create a local copy, it is safe. If you rsync a running Data.fs, >>> it is not safe. In this case you create a local copy and rsync the copy. >> >> but if rsync is unsafe only because it takes long time, and changes on the >> instance during the copy pr

Re: [Zope] backup full instances

2007-10-27 Thread knitti
On 10/27/07, Jonas Meurer <[EMAIL PROTECTED]> wrote: > zope might write to the Data.fs while it is copied, thus an inconsistent > copy would be backuped, even inside one filesystem. if you insist on copying a file, _and_ happen to be on linux with some lvm volumes, you can snapshot that volume wit

Re: [Zope] backup full instances

2007-10-27 Thread Andreas Jung
--On 27. Oktober 2007 18:18:23 +0200 Jonas Meurer <[EMAIL PROTECTED]> wrote: On 27/10/2007 Andreas Jung wrote: If you create a local copy, it is safe. If you rsync a running Data.fs, it is not safe. In this case you create a local copy and rsync the copy. but if rsync is unsafe only beca

Re: [Zope] backup full instances

2007-10-27 Thread Tino Wildenhain
Hi, Jonas Meurer schrieb: On 27/10/2007 Andreas Jung wrote: If you create a local copy, it is safe. If you rsync a running Data.fs, it is not safe. In this case you create a local copy and rsync the copy. but if rsync is unsafe only because it takes long time, and changes on the instance duri

Re: [Zope] backup full instances

2007-10-27 Thread Dieter Maurer
Jonas Meurer wrote at 2007-10-26 16:57 +0200: > ... >The main problem with this backup approach is, that the zope instance is >not stopped for the backup at all, thus the Data.fs might not be up to >date. Why do you think that this is a problem? Of course, your backup process may read a partial t