<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Migration on iMil.net</title>
    <link>http://imil.net/blog/tags/migration/</link>
    <description>Recent content in Migration on iMil.net</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 19 Nov 2018 14:47:32 +0000</lastBuildDate>
    <atom:link href="http://imil.net/blog/tags/migration/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>An Elasticsearch from the past</title>
      <link>http://imil.net/blog/posts/2018/an-elasticsearch-from-the-past/</link>
      <pubDate>Mon, 19 Nov 2018 14:47:32 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2018/an-elasticsearch-from-the-past/</guid>
      <description>&lt;p&gt;Here&amp;rsquo;s a procedure I came up with in order to migrate an &lt;a href=&#34;https://www.elastic.co/products/elasticsearch&#34;&gt;elasticsearch&lt;/a&gt; 1.1 database to version 6 (actually 6.4 but probably any 6.x version).&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Fire up a temporary &lt;em&gt;elasticsearch&lt;/em&gt; version 1.1&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Fetch the &lt;code&gt;tar.gz&lt;/code&gt; version from &lt;a href=&#34;https://www.elastic.co/downloads/past-releases/filebeat-1-1-2&#34;&gt;https://www.elastic.co/downloads/past-releases/filebeat-1-1-2&lt;/a&gt; and untar it.&lt;/p&gt;&#xA;&lt;p&gt;Use the following basic configuration file&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ egrep -v &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;^[[:space:]]*(#|$)&amp;#39;&lt;/span&gt; ~/tmp/elasticsearch-1.1.2/config/elasticsearch.yml &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;http.port: &lt;span style=&#34;color:#ae81ff&#34;&gt;9202&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;transport.tcp.port: &lt;span style=&#34;color:#ae81ff&#34;&gt;9302&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;path.conf: /home/imil/tmp/elasticsearch-1.1.2/config&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;path.data: /var/db/elasticsearch&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Note that I changed the standard ports to &lt;code&gt;$((standard_port + 2))&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;From the untarred directory, lauch &lt;code&gt;elasticsearch&lt;/code&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
