[Seaside] Pier backup

Dmitry Dorofeev dima-sender-3c337a at yasp.com
Fri May 26 08:54:45 UTC 2006


Nice and easy, thanks.

The only question left unresolved is to how ensure that nobody
change Pier pages while I do backup. It is not quite necessary for
me personally. But would be nice to have a backup/restore functionality
embedded into Pier. That may show nice message like 'Sorry, Pier back up is action,
please wait and try to edit this page later.' to the user who updates the page.

Just an idea.

-Dmitry.

Brian Chapados wrote:
> This topic has come up before on the Pier (smallwiki) mailing list.  Check
> these links:
> 
> # save/restore all data from a pier instance
> http://www.iam.unibe.ch/pipermail/smallwiki/2006-March/001773.html
> http://www.iam.unibe.ch/pipermail/smallwiki/2004-May/000615.html
> http://minnow.cc.gatech.edu/squeak/2318
> 
> I use ReferenceStreams as follows:
> 
> " save Pier kernel instance "
> stream := ReferenceStream fileNamed: 'pier-export.obj'.
> stream nextPut: (PRKernel instanceNamed: 'mykernelname') root.
> stream close.
> 
> " load Pier kernel from stored objects "
> stream := ReferenceStream fileNamed: 'pier-export.obj'.
> (PRKernel instanceNamed: 'mykernelname') root: stream next.
> stream close.
> 
> Brian
> 
> 
>>Hi all,
>>
>>The only thing which stops me to run personal wiki on Pier is the
> 
> chances
> 
>>that I
>>can have my image corrupted. Is there any way to make a backup of Pier
> 
> content
> 
>>and full restore ? If I can run it daily would be nice.
>>
>>Thanks.
>>-Dmitry.
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the Seaside mailing list