[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects

webmaster@zope.org webmaster@zope.org
Mon, 07 Oct 2002 16:07:19 -0400


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#2-10

---------------

    Folders are the building blocks of Zope. The purpose of a folder is to
    *contain* other objects, and to *organize* objects by separating them
    into different groups.

      % Anonymous User - July 2, 2002 1:58 pm:
       Each time we create an object such as a folder, Zope saves everything in its database in the file Data.fs.

       Am I correct? Thanks.

      % Anonymous User - July 2, 2002 2:01 pm:
       Yes.

      % Anonymous User - Aug. 18, 2002 12:23 pm:
       So are you saying that to "copy" my Zope setup to another box I could simply copy the Data.fs file? Could you
       explain the function of Data.fs.in, Data.fs.lock and Data.fs.tmp?
       Data.fs contains a lot of binary content. Is there a way to "recover" it if Zope becomes unusable?

      % Anonymous User - Sep. 12, 2002 5:29 pm:
       you'd at least be pretty close. worked for me once. dunno about .in, .lock, .tmp however. i guess Data.fs is
       more or less what you get if you cpickle your zope tree.

      % Anonymous User - Oct. 7, 2002 4:07 pm:
       If this is what you're trying to do, you're much safer using "export". It's much more likely to work.