<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question How to take backup of Apache Atlas and restore it. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174464#M58167</link>
    <description>&lt;P&gt;Is there anyway to take backup of Atlas and restore it.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2017 13:25:36 GMT</pubDate>
    <dc:creator>karthik1289</dc:creator>
    <dc:date>2017-03-27T13:25:36Z</dc:date>
    <item>
      <title>How to take backup of Apache Atlas and restore it.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174464#M58167</link>
      <description>&lt;P&gt;Is there anyway to take backup of Atlas and restore it.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 13:25:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174464#M58167</guid>
      <dc:creator>karthik1289</dc:creator>
      <dc:date>2017-03-27T13:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to take backup of Apache Atlas and restore it.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174465#M58168</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16582/karthik1289.html" nodeid="16582"&gt;@Karthik K&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;What is hdp version or apache-atlas version you are using ?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 14:48:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174465#M58168</guid>
      <dc:creator>nixonrodrigues</dc:creator>
      <dc:date>2017-03-27T14:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to take backup of Apache Atlas and restore it.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174466#M58169</link>
      <description>&lt;P&gt;Am using atlas 0.8 version&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 14:49:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174466#M58169</guid>
      <dc:creator>karthik1289</dc:creator>
      <dc:date>2017-03-27T14:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to take backup of Apache Atlas and restore it.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174467#M58170</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16582/karthik1289.html" nodeid="16582"&gt;@Karthik K&lt;/A&gt; Atlas backend store is actually hbase and so taking a hbase table snapshot is equivalent taking backup of atlas metadata. &lt;STRONG&gt;Please note, I have not tried this yet&lt;/STRONG&gt;. In theory, this should work, so I would recommend to try this on sandbox environment to see if everything is restored after the hbase snapshot is imported.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 19:03:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174467#M58170</guid>
      <dc:creator>apathan</dc:creator>
      <dc:date>2017-03-27T19:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to take backup of Apache Atlas and restore it.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174468#M58171</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16582/karthik1289.html" nodeid="16582"&gt;@Karthik K&lt;/A&gt;: Atlas now has export and import REST APIs. We are hoping to update documentation by end of this week.&lt;/P&gt;&lt;P&gt;The current implementation needs the user to be admin to be able to use these APIs. The implementation can be found in &lt;EM&gt;AdminResource.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Here are CURL calls show export and import of &lt;EM&gt;DB &lt;/EM&gt;generated from &lt;EM&gt;QuickStart_v1&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Export&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -X POST -u admin:admin -H "Cache-Control: no-cache" -H "Postman-Token: 4a22172c-0dcc-5608-7bb2-e7bdfd61615a" -d '{
  "itemsToExport": [
      {
          "typeName": "DB_v1",
          "uniqueAttributes": {
              "name": "Sales"
          }
    }
  ],
  "options": { "fetchType": "full"   }
}
' "http://localhost:21000/api/atlas/admin/export" &amp;gt; Sales_v1-Full.zip
&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Import&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -X POST -H "Content-type: application/octet-stream" -u admin:admin -H "Cache-Control: no-cache" --data-binary @../docs/Sales_v1-Full.zip  "http://localhost:21000/api/atlas/admin/import"&lt;/PRE&gt;&lt;P&gt;Similar calls are possible with well known types like &lt;EM&gt;hive_db, hdfs_path&lt;/EM&gt;, etc.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 23:59:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174468#M58171</guid>
      <dc:creator>amestry</dc:creator>
      <dc:date>2017-03-27T23:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to take backup of Apache Atlas and restore it.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174469#M58172</link>
      <description>&lt;P&gt;The changes are present in 0.8-incubator. Hope I am looking at the right branch: &lt;A href="https://github.com/apache/incubator-atlas/commits/0.8-incubating" target="_blank"&gt;https://github.com/apache/incubator-atlas/commits/0.8-incubating&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2017 01:01:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174469#M58172</guid>
      <dc:creator>amestry</dc:creator>
      <dc:date>2017-03-28T01:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to take backup of Apache Atlas and restore it.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174470#M58173</link>
      <description>&lt;P&gt;In addition to HBase tables, Atlas data is stored in 3 Solr collections as well: vertex_index, edge_index and fulltext_index.These need to be backed up as well. &lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 14:18:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174470#M58173</guid>
      <dc:creator>mneethiraj</dc:creator>
      <dc:date>2017-03-31T14:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to take backup of Apache Atlas and restore it.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174471#M58174</link>
      <description>&lt;P&gt;Export/import feature helps to copy Atlas data from one instance to another. However, it won't replace the need for backup.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 14:31:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174471#M58174</guid>
      <dc:creator>mneethiraj</dc:creator>
      <dc:date>2017-03-31T14:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to take backup of Apache Atlas and restore it.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174472#M58175</link>
      <description>&lt;P&gt;	To backup Atlas you can backup Hbase table, follow below steps: &lt;/P&gt;&lt;P&gt;	 1. Create a folder in HDFS which is having an owner as HBase. &lt;/P&gt;&lt;P&gt;	 2. Run below command from HBase user with TGT (if required) to export HBase table into HDFS folder which is newly created. &lt;/P&gt;&lt;PRE&gt;# hbase org.apache.hadoop.hbase.mapreduce.Export "atlas_titan" "/&amp;lt;folder&amp;gt;/atlas_titan" 
# hbase org.apache.hadoop.hbase.mapreduce.Export "ATLAS_ENTITY_AUDIT_EVENTS" "/&amp;lt;folder&amp;gt;/ATLAS_ENTITY_AUDIT_EVENTS" &lt;/PRE&gt;&lt;P&gt;	 Above commands will backup the Data from HBase table into HDFS. &lt;/P&gt;&lt;P&gt;Please note snapshot only creates a snap of the HBase table so that the original table can be restored to the snapshot point. Also, the snapshot does not replicate the data it just checkpoints it. &lt;/P&gt;&lt;P&gt;With that being said, at the time of import / restore, you should have the table created with a correct schema which can be done either by doing a restart of Atlas or you can use manual commands from HBase shell to create HBase tables and then restore the HBase table:- &lt;/P&gt;&lt;P&gt;1. Run below command from the HBase user with TGT if required to import HBase table from HDFS folder to HBase table: &lt;/P&gt;&lt;PRE&gt;# hbase org.apache.hadoop.hbase.mapreduce.Import 'atlas_titan' '/&amp;lt;folder&amp;gt;/atlas_titan' 
# hbase org.apache.hadoop.hbase.mapreduce.Import 'ATLAS_ENTITY_AUDIT_EVENTS' '/&amp;lt;folder&amp;gt;/ATLAS_ENTITY_AUDIT_EVENTS' &lt;/PRE&gt;&lt;P&gt;You need to restart atlas once the import is done. &lt;/P&gt;&lt;P&gt;Manual command to create HBase table schema for Atlas :- &lt;/P&gt;&lt;PRE&gt;create 'atlas_titan' , {NAME =&amp;gt; 'e', BLOOMFILTER =&amp;gt; 'ROW', VERSIONS =&amp;gt; '1', IN_MEMORY =&amp;gt; 'false', KEEP_DELETED_CELLS =&amp;gt; 'FALSE', DATA_BLOCK_ENCODING =&amp;gt; 'FAST_DIFF', TTL =&amp;gt; '2592000', COMPRESSION =&amp;gt; 'GZ', MIN_VERSIONS =&amp;gt; '0', BLOCKCACHE =&amp;gt; 'true', BLOCKSIZE =&amp;gt; '65536', REPLICATION_SCOPE =&amp;gt; '0'} ,{NAME =&amp;gt; 'g', BLOOMFILTER =&amp;gt; 'ROW', VERSIONS =&amp;gt; '1', IN_MEMORY =&amp;gt; 'false', KEEP_DELETED_CELLS =&amp;gt; 'FALSE', DATA_BLOCK_ENCODING =&amp;gt; 'FAST_DIFF', TTL =&amp;gt; '2592000', COMPRESSION =&amp;gt; 'GZ', MIN_VERSIONS =&amp;gt; '0', BLOCKCACHE =&amp;gt; 'true', BLOCKSIZE =&amp;gt; '65536', REPLICATION_SCOPE =&amp;gt; '0'} , {NAME =&amp;gt; 'i', BLOOMFILTER =&amp;gt; 'ROW', VERSIONS =&amp;gt; '1', IN_MEMORY =&amp;gt; 'false', KEEP_DELETED_CELLS =&amp;gt; 'FALSE', DATA_BLOCK_ENCODING =&amp;gt; 'FAST_DIFF', TTL =&amp;gt; '2592000', COMPRESSION =&amp;gt; 'GZ', MIN_VERSIONS =&amp;gt; '0', BLOCKCACHE =&amp;gt; 'true', BLOCKSIZE =&amp;gt; '65536', REPLICATION_SCOPE =&amp;gt; '0'} , {NAME =&amp;gt; 'l', BLOOMFILTER =&amp;gt; 'ROW', VERSIONS =&amp;gt; '1', IN_MEMORY =&amp;gt; 'false', KEEP_DELETED_CELLS =&amp;gt; 'FALSE', DATA_BLOCK_ENCODING =&amp;gt; 'FAST_DIFF', TTL =&amp;gt; '2592000', COMPRESSION =&amp;gt; 'GZ', MIN_VERSIONS =&amp;gt; '0', BLOCKCACHE =&amp;gt; 'true', BLOCKSIZE =&amp;gt; '65536', REPLICATION_SCOPE =&amp;gt; '0'} , {NAME =&amp;gt; 'm', BLOOMFILTER =&amp;gt; 'ROW', VERSIONS =&amp;gt; '1', IN_MEMORY =&amp;gt; 'false', KEEP_DELETED_CELLS =&amp;gt; 'FALSE', DATA_BLOCK_ENCODING =&amp;gt; 'FAST_DIFF', TTL =&amp;gt; '2592000', COMPRESSION =&amp;gt; 'GZ', MIN_VERSIONS =&amp;gt; '0', BLOCKCACHE =&amp;gt; 'true', BLOCKSIZE =&amp;gt; '65536', REPLICATION_SCOPE =&amp;gt; '0'} , {NAME =&amp;gt; 's', BLOOMFILTER =&amp;gt; 'ROW', VERSIONS =&amp;gt; '1', IN_MEMORY =&amp;gt; 'false', KEEP_DELETED_CELLS =&amp;gt; 'FALSE', DATA_BLOCK_ENCODING =&amp;gt; 'FAST_DIFF', TTL =&amp;gt; '2592000', COMPRESSION =&amp;gt; 'GZ', MIN_VERSIONS =&amp;gt; '0', BLOCKCACHE =&amp;gt; 'true', BLOCKSIZE =&amp;gt; '65536', REPLICATION_SCOPE =&amp;gt; '0'} &lt;/PRE&gt;&lt;PRE&gt;create 'ATLAS_ENTITY_AUDIT_EVENTS' , {NAME =&amp;gt; 'dt', BLOOMFILTER =&amp;gt; 'ROW', VERSIONS =&amp;gt; '1', IN_MEMORY =&amp;gt; 'false', KEEP_DELETED_CELLS =&amp;gt; 'FALSE', DATA_BLOCK_ENCODING =&amp;gt; 'FAST_DIFF', TTL =&amp;gt; '2592000', COMPRESSION =&amp;gt; 'GZ', MIN_VERSIONS =&amp;gt; '0', BLOCKCACHE =&amp;gt; 'true', BLOCKSIZE =&amp;gt; '65536', REPLICATION_SCOPE =&amp;gt; '0'}&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 May 2018 20:14:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174472#M58175</guid>
      <dc:creator>rbansal</dc:creator>
      <dc:date>2018-05-04T20:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to take backup of Apache Atlas and restore it.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174473#M58176</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/330/mneethiraj.html" nodeid="330"&gt;@Madhan Neethiraj&lt;/A&gt; What's the best practice to build Atlas DR Site?&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 06:36:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/174473#M58176</guid>
      <dc:creator>spillai</dc:creator>
      <dc:date>2018-11-24T06:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to take backup of Apache Atlas and restore it.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/300956#M58177</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/62039"&gt;@rbansal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm able to Export and Import Hbase data, but after restarting Atlas I'm unable to Access Atlas UI. Do I need to make any changes to the configuration of Atlas or Hbase before or after the Import Export process?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 06:40:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/300956#M58177</guid>
      <dc:creator>Yashfork</dc:creator>
      <dc:date>2020-08-06T06:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to take backup of Apache Atlas and restore it.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/300957#M58178</link>
      <description />
      <pubDate>Thu, 06 Aug 2020 08:33:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-take-backup-of-Apache-Atlas-and-restore-it/m-p/300957#M58178</guid>
      <dc:creator>Yashfork</dc:creator>
      <dc:date>2020-08-06T08:33:44Z</dc:date>
    </item>
  </channel>
</rss>

