[Moin-user] hotbackup

Nir Soffer nirs at actcom.net.il
Fri Oct 7 14:06:45 EDT 2005

On 7 Oct, 2005, at 20:09, solo turn wrote:

>  i was wondering if moinmoin supports hot-backup? i.e. you can copy 
> the contents of a wiki while in operation to somewhere else and it is 
> consistent. maximum loss of the last change of a page would be 
> acceptable.

In most cases a backup will work with no problem, in rare cases you may 
have problems, because edit or backup operations are not atomic.

You may backup a page that its current revision is 1, and then a user 
might save revision 2, and update the current file after you copied it. 
You will be left with a page that points to revision 1.

Or you may backup revision 2 of a page, and then a user save revision 
3, and you copy the current file after the save, so you have a page 
that point to revision 3 which you did not copy. Such page is 
considered a deleted page.

The next backup should fix any problem in the previous backup.

Best Regards,

Nir Soffer

More information about the Moin-user mailing list