Welcome to Squishdot Websites Squishdot How-To
 about
 search
 post article
 Documentation
 Mailing Lists
 Bug Tracking
 Development
 Installation
 Upgrading
 Download
 admin
 rdf

 main


save and restore a squishdot site
Squishdot Posted by adrian on Wednesday June 06, 03:17PM, 2001
from the dept.
I want to save a squishdot site. How do i access the zodb, or filesystem, and save a squishdot site from being *squished* when i delete zope installation. This is not an upgrade!

After adding a zope site root (not squishdot site) the management interface will not work. I believe the new site root was targeted as the management root!!? Sadly, i cannot enter the management interface so i want to reinstall zope and wipe out the directories.

I'm want to keep a squishdot site i had created. Is squishdot using the zodb exclusively?
I cannot find any of the pages/graphics in the site!
What can i do about saving the site, and later restoring it?

(or will the bad site root also be saved within the same zodb as the squishdot site.)

<  |  >

 

Related Links
  • Articles on Squishdot
  • Also by adrian
  • Contact author
  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Don't Panic...
    by Chris Withers on Thursday June 07, 06:21PM, 2001

    ...just cut the last 20 or so bytes off the end of your data.fs (shut Zope down first ;-)

    Data.fs is found at:

    <i>yourzope</i>/var/Data.fs

    Then start Zope up. It should clear the transaction where you created the Site Root.

    cheers,

    Chris

    [ Reply to this ]
    • This worked a TREAT :-)
      by Mark Matthews on Tuesday July 27, 12:37PM, 2004
      Beautifull. After trying to Export my squishdot site on one server as *.zexp and importing it - which failed however i tried it, because it didn't like the file name for some reason, the following worked wonderfully:

      1. Stop Zope Server/Service on primary server
      2. Ditto on secondary server
      3. Copy contents of <primary_instance_home>\var folder over <secondary_instance_home>\var
      4. Start Zope Server/Service on secondary server
      5. Open manager web page on secondary server

      presto! perfect!
      [ Reply to this ]
    • Re: Don't Panic...
      by Mark Matthews on Tuesday July 27, 12:39PM, 2004
      This worked for me (moving from WinXP server to WinNT server) without neding to truncate the file at all. Great stuff.
      [ Reply to this ]
    Re: save and restore a squishdot site
    by Amr Malik on Friday June 08, 01:29AM, 2001

    I generally use the export/import method (well, I am a certified newbie in zope, so I use whatever fills the bill). I used to host on zopesites.com, but I used to backup by exporting that folder. This is my experience with the controlled crash of zopesite (when it went off the air sometime back)

    What I had: Squishdot - 0.7 or sth running on zope 2.1.6 tinytable (regular tables used by the "fancy" option) , FSCounter (3 counters I had)

    I made some modifications, added images to TopicImages folder, created more subjects.

    What I did to backup: Basically in the root folder I would just check the folder TingooTalk in my case and hit import/export button. Then I just exported it to my local machine (it was less than 1 MB)

    What I did to restore: I installed zope 2.3.2 I generally use the export/import method (well, I am a certified newbie in zope, so I use whatever fills the bill). I used to host on zopesites.com, but I used to backup by exporting that folder. This is my experience with the controlled crash of zopesite (when it went off the air sometime back)

    What I had: Squishdot - 0.7 or sth running on zope 2.1.6 tinytable (regular tables used by the "fancy" option) , FSCounter (3 counters I had)

    I made some modifications, added images to TopicImages folder, created more subjects.

    What I did to backup: Basically in the root folder I would just check the folder TingooTalk in my case and hit import/export button. Then I just exported it to my local machine (it was less than 1 MB)

    What I did to restore: I installed zope 2.3.2

    [ Reply to this ]
    • Re: save and restore a squishdot site
      by Amr Malik on Friday June 08, 02:57AM, 2001

      Okay, something is SERIOUSLY wrong with the HTML posting function.

      I tried posting a correction to my earlier post, but I've realized that its not me who messed up the posting. It seems the post form is mangling the post!

      have I used the word "post" enough times? :)

      I'm noticing the same thing on the new 1.0.0 squishdot I have at www.tingoo.com. Users are seeing weird results when they try to do some fancy HTML posting.

      Is there a patch out there for this?

      -Amr


      [ Reply to this ]
    Re: save and restore a squishdot site
    by venusXL on Wednesday June 20, 05:27PM, 2001
    So in conclusion 8)

    Can u not just select the squishsite folder in the main Zope root and export it?

    then goto a new zope, stick the zexp file in the import directory, then import it?

    does this take all the post etc or just the site structure?
    [ Reply to this ]
    • Re: save and restore a squishdot site
      by adrian on Thursday June 21, 02:22PM, 2001
      i would love to import/export, but i cannot enter the management interface ! it was broken by someother issue.
      this is the problem. how do i save and restore without using the mgmt interface.
      [ Reply to this ]
      • Broken Management Interface?!
        by Chris Withers on Friday June 22, 12:16PM, 2001
        When you say the management interface is broken what do you mean?

        What symptoms are showing up?

        Chris
        [ Reply to this ]
        • Re: Broken Management Interface?!
          by adrian on Saturday July 14, 05:41AM, 2001
          your recommendation of cutting the last 20 bytes off the var/Data.fs worked!

          I did receive this message, but hopefully this will not lead to further issues.

          2001-07-14T03:37:26 PROBLEM(100) ZODB FS FS21 warn: /usr/local/Zope-2.3.2-linux2-x86/var/Data.fs truncated, possibly due to damaged records at 3179404L

          Thanks
          [ Reply to this ]

     
    The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Powered by Zope  Squishdot Powered
      "Any system that depends on reliability is unreliable." -- Nogg's Postulate
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 Butch Landingin, ©2000-2002 Chris Withers.