[Newbies] How would I save an object to disk separately and load it when needed?

Paul DeBruicker pdebruic at gmail.com
Tue Jun 9 22:27:17 UTC 2009


Hi Frank,


I've worked through that tutorial.  Look to chapter 14 for how to save
the object definitions.  The tool that does that is called Monticello.
 To backup Gemstone itself you can just make a backup of the
extent0.dbf file by clicking the Admin.... button in the GemTools
Launcher window and then selecting Backup Repository.  It will create
a backup of the data and object definitions in I think
/opt/gemstone/product/seaside/data/backups/ folder.  I'm not sure how
to just save the object data separately from the definitions.   The
backup file can be loaded into another image on another machine and
you should be able to pick up where you left off.  Also, for Gemstone
specific questions you should join the Beta mailing list for Gemstone
here: http://seaside.gemstone.com/mailman/listinfo/beta

I've cc'd your question to that list and imagine that someone there
will correct me if I've misled you or improve my answer as I'm sure
its not complete.

Good luck

Paul



On Tue, Jun 9, 2009 at 11:12 AM, Frank Church<vfclists at googlemail.com> wrote:
> I am practicing the seaside.gemstone.com tutorial and I want to know
> how to save just the object definitions and their data to a seperate
> file, then load it again, or even into a different image and run the
> website again.
>
> It sounds like very newbie question, but I would be very much obliged.
>
> /vfclists
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>


More information about the Beginners mailing list