<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #363: Bring DEV up to date with LIVE</title>
    <link>http://localhost:8080/trac/ticket/363</link>
    <description>&lt;p&gt;
DEV needs to be brought up to date using Chris' &lt;tt&gt;live2dev&lt;/tt&gt; script so that Laura and Jim can develop against it without needing releases to LIVE for every change.
&lt;/p&gt;
&lt;p&gt;
Jim's gonna try the script tonight after he does the SVN update...
&lt;/p&gt;
&lt;p&gt;
Chris: Shout now if it's gonna blow!
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/363</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 19 Oct 2011 17:42:20 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/363#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/363#comment:1</guid>
      <description>
        &lt;p&gt;
It should be OK!
&lt;/p&gt;
&lt;p&gt;
I'll run it if you want, it's been a while since I ran it so I dunno what will happen ;-)
&lt;/p&gt;
&lt;p&gt;
It shouldn't cause any harm, if it doesn't work shout!
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 20 Oct 2011 09:08:23 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/363#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/363#comment:2</guid>
      <description>
        &lt;p&gt;
Did it go OK?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Thu, 20 Oct 2011 11:31:43 GMT</pubDate>
      <title>hours, priority, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/363#comment:3</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/363#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.5&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;priority&lt;/strong&gt;
                changed from &lt;em&gt;major&lt;/em&gt; to &lt;em&gt;minor&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I started running it but realised the script was doing a 'dumb' DB dump... This included many many megabytes of pointless data and the DEV machine, at the time, was running like a pig...
&lt;/p&gt;
&lt;p&gt;
A look at &lt;tt&gt;top&lt;/tt&gt; showed mysqldump and rdiff-backup and other processes doing stuff. It took &lt;em&gt;ages&lt;/em&gt; to get a plain SVN update to happen, so I didn't want to cripple or crash DEV by importing huge dumpfiles.
&lt;/p&gt;
&lt;p&gt;
So I aborted the &lt;tt&gt;backup2kiwi&lt;/tt&gt; script it after I saw it trying to dump many unnecessary tables (cache_*, sessions etc etc) and just used the 'Backup and Migrate' module instead. That made a 13Mb gz file (of a 60mb mysql file) and uploaded onto DEV no problems.
&lt;/p&gt;
&lt;p&gt;
So there remains the following minor issues:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;sites/default/files folder ideally needs rsyncing from LIVE to DEV
&lt;/li&gt;&lt;li&gt;DEV (and by extension LIVE) SVN performance is awful -- at ~1.30am anyway... did this coincide with your own backup processes? Is it the lack of memory on DEV? Does kiwi need a cleanse?
&lt;/li&gt;&lt;li&gt;the &lt;tt&gt;backup2kiwi&lt;/tt&gt; script needs some table filtering to avoid unnecessary load
&lt;/li&gt;&lt;li&gt;only the main live DB got moved, not the workspaces or sharing engine -- though these are not really needed on DEV for now.
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
But DEV is now in sync with LIVE... downgrading but will leave open for comments.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 20 Oct 2011 13:38:57 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/363#comment:4</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/363#comment:4</guid>
      <description>
        &lt;p&gt;
OK, I'll do some on it tonight
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 20 Oct 2011 15:51:44 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/363#comment:5</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/363#comment:5</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.5&lt;/em&gt; to &lt;em&gt;0.75&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I have added this to the mysql database backup script:
&lt;/p&gt;
&lt;p&gt;
&lt;tt&gt;@skip_tables                 = qw[cache cache_block cache_content cache_emfield_xml cache_filter cache_form cache_hierarchical_select cache_location cache_media_youtube_status cache_menu cache_mollom cache_page cache_path cache_rules cache_update cache_views cache_views_data sessions];&lt;/tt&gt;
&lt;/p&gt;
&lt;p&gt;
And I have checked that neither mediawiki or piwik have any tables with the same names, so I think that has fixed that one.
&lt;/p&gt;
&lt;p&gt;
I can't see anything really that has changed which would make svn slower than before...
&lt;/p&gt;
&lt;p&gt;
I think it would be safe to sync live to dev tonight, I'll do this if you want.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Thu, 20 Oct 2011 16:06:09 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/363#comment:6</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/363#comment:6</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.75&lt;/em&gt; to &lt;em&gt;0.85&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Just checking the settings at: &lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/content/backup_migrate/profile/list/edit/default"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/content/backup_migrate/profile/list/edit/default&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Seems the search_* and watchdog tables should also be excluded...
&lt;/p&gt;
&lt;p&gt;
DEV is ready for us to use for now, but I'm sure it'll need updating again in a few weeks so we can try then.
&lt;/p&gt;
&lt;p&gt;
Thanks.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 20 Oct 2011 16:19:31 GMT</pubDate>
      <title>hours, status, totalhours changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/363#comment:7</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/363#comment:7</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.85&lt;/em&gt; to &lt;em&gt;0.95&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
OK I have added:
&lt;/p&gt;
&lt;p&gt;
&lt;tt&gt;search_dataset search_index search_node_links search_total watchdog&lt;/tt&gt;
&lt;/p&gt;
&lt;p&gt;
Closing this ticket now.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>