<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-from-a-sql-file.html" />
  <link rel="self" type="application/atom+xml" href="http://forums.movabletype.org/atom.xml" />
  <id>tag:forums.movabletype.org,2011://24/tag:forums.movabletype.org,2009://24.12104-</id>
  <updated>2011-09-01T02:26:16Z</updated>
  <title>Comments for Import from a .sql file</title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.292</generator>
  <entry>
    <id>tag:forums.movabletype.org,2009://24.12104</id>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-from-a-sql-file.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.movabletype.org/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=24/entry_id=12104" title="Import from a .sql file" />
    <published>2009-01-22T15:51:34Z</published>
    <updated>2009-01-22T20:15:42Z</updated>
    <title>Import from a .sql file</title>
    <summary>Hello to all. In the Import appliance, there&#8217;s a support for a dump file from a postresql DB (with custom field names, but with a title and body)? I guess not, but maybe&#8230; thanks Luciano...</summary>
    <author>
      <name>Luciano G.</name>
      <uri>http://www.lucianogiustini.org</uri>
    </author>
    
    <category term="General" />
    
    <content type="html" xml:lang="en" xml:base="http://forums.movabletype.org/">
      <![CDATA[<p>Hello to all.</p>

<p>In the Import appliance, there&#8217;s a support for a dump file from a postresql DB (with custom field names, but with a title and body)? I guess not, but maybe&#8230;</p>

<p>thanks</p>

<p>Luciano</p>
]]>
      

    </content>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.12104-comment:16500</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.12104" type="text/html" href="http://forums.movabletype.org/2009/01/import-from-a-sql-file.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-from-a-sql-file.html#c16500" />
    <title>Comment from Mike T on 2009-01-22</title>
    <author>
        <name>Mike T</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Movable Type doesn't handle imports from raw SQL dumps. If you want to import from SQL, what you should do is load the SQL dump into a new PostgreSQL database, configure Movable Type to point to that for that moment, run the export command and reconfigure Movable Type to point to your original database so you can import the content back in.</p>]]>
    </content>
    <published>2009-01-22T15:55:31Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.12104-comment:16502</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.12104" type="text/html" href="http://forums.movabletype.org/2009/01/import-from-a-sql-file.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-from-a-sql-file.html#c16502" />
    <title>Comment from Luciano G. on 2009-01-22</title>
    <author>
        <name>Luciano G.</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Right. Ok, but the custom fields name can be a problem? Doesn't MT create its own fields and table to handle the data? What happen when it finds other model. Is there a mapping way?</p>

<p>thanks</p>]]>
    </content>
    <published>2009-01-22T15:58:02Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.12104-comment:16546</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.12104" type="text/html" href="http://forums.movabletype.org/2009/01/import-from-a-sql-file.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-from-a-sql-file.html#c16546" />
    <title>Comment from Rob Kenny on 2009-01-22</title>
    <author>
        <name>Rob Kenny</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>The dump from the database should have the necessary CREATE TABLE commands that will include any additional columns created by the CF plugin.</p>]]>
    </content>
    <published>2009-01-22T17:33:16Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.12104-comment:16574</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.12104" type="text/html" href="http://forums.movabletype.org/2009/01/import-from-a-sql-file.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-from-a-sql-file.html#c16574" />
    <title>Comment from Mike T on 2009-01-22</title>
    <author>
        <name>Mike T</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Rob has a good point. You'll have to tweak some of the ID fields to do a clean SQL merge. Familiarize yourself with all of the table layouts before you update everything.</p>]]>
    </content>
    <published>2009-01-22T19:29:55Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.12104-comment:16584</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.12104" type="text/html" href="http://forums.movabletype.org/2009/01/import-from-a-sql-file.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/import-from-a-sql-file.html#c16584" />
    <title>Comment from Rob Kenny on 2009-01-22</title>
    <author>
        <name>Rob Kenny</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Are you trying to merge or move an installation?</p>]]>
    </content>
    <published>2009-01-22T20:15:42Z</published>
  </entry>

</feed>

