[Seaside] Pier backup
Brian Chapados
chapbr+seaside at sciencegeeks.org
Thu May 25 14:54:53 UTC 2006
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.
More information about the Seaside
mailing list