<?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 Re: Sap hana import and export data using command line in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-hana-import-and-export-data-using-command-line/qaa-p/9492577#M3381955</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;My question is related with this thread, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to export the schema through the following steps get error in step 3 in below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';"&gt;1. ssh to machine which has SAP HANA installed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';"&gt;2. hdbsql -n localhost:30015 -u system -p password&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';"&gt;3. EXPORT "SCHEMA_NAME"."*" AS BINARY INTO '/home/hanauser/hana-database-backups/'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';"&gt;&lt;STRONG&gt;* 258: insufficient privilege: Not authorized SQLSTATE: HY000&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana, sans-serif; font-size: 10pt;"&gt;When I checked the system user, it does have export and import &lt;/SPAN&gt;&lt;SPAN style="font-family: Verdana, sans-serif;"&gt;privilege&lt;/SPAN&gt;&lt;SPAN style="font-family: Verdana, sans-serif; font-size: 10pt;"&gt; so why is it failing complaining about privilege?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Note: The same operation works successfully through UI.&amp;nbsp; (export option in HANA studio).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="9616" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Lars Breddemann" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Oct 2014 16:37:46 GMT</pubDate>
    <dc:creator>Virendra_Raval</dc:creator>
    <dc:date>2014-10-30T16:37:46Z</dc:date>
    <item>
      <title>Sap hana import and export data using command line</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-hana-import-and-export-data-using-command-line/qaq-p/9492573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background: white; font-size: 10.5pt; font-family: 'Arial','sans-serif';"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt; We want to import and export the data in sap hana database using command line syntax not from hana-studio.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; font-family: 'Arial','sans-serif';"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Gopal&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 08:57:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-hana-import-and-export-data-using-command-line/qaq-p/9492573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-10T08:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sap hana import and export data using command line</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-hana-import-and-export-data-using-command-line/qaa-p/9492574#M3381952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you mean this ?&lt;/P&gt;&lt;P&gt;Loading data using CTL method:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://www.saphana.com/docs/DOC-2192" title="http://www.saphana.com/docs/DOC-2192"&gt;http://www.saphana.com/docs/DOC-2192&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Liu &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 14:20:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-hana-import-and-export-data-using-command-line/qaa-p/9492574#M3381952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-10T14:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sap hana import and export data using command line</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-hana-import-and-export-data-using-command-line/qaa-p/9492575#M3381953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gopal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the &lt;A href="http://help.sap.com/hana/html/sql_export.html"&gt;EXPORT&lt;/A&gt; and &lt;A href="http://help.sap.com/hana/html/sql_import.html"&gt;IMPORT&lt;/A&gt; SQL statements from the command line &lt;A href="http://www.youtube.com/watch?v=gjUMPPaOrvk"&gt;HDBSQL&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 14:59:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-hana-import-and-export-data-using-command-line/qaa-p/9492575#M3381953</guid>
      <dc:creator>Ravi_Channe</dc:creator>
      <dc:date>2013-06-10T14:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sap hana import and export data using command line</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-hana-import-and-export-data-using-command-line/qaa-p/9492576#M3381954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Thanks for your timely reply but I didn't find the response to be relevant to my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI&amp;nbsp; I am able to import single table but unable to import bulk data's using command prompt.&lt;/P&gt;&lt;P&gt;While exporting a database, 4 different of files(including control file) are created.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Would like to confirm if the functionality is this or is it possible to import multiple table data's or import database with a single command in command prompt."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Gopalakrishnan.V&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 05:26:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-hana-import-and-export-data-using-command-line/qaa-p/9492576#M3381954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-20T05:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sap hana import and export data using command line</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-hana-import-and-export-data-using-command-line/qaa-p/9492577#M3381955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;My question is related with this thread, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to export the schema through the following steps get error in step 3 in below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';"&gt;1. ssh to machine which has SAP HANA installed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';"&gt;2. hdbsql -n localhost:30015 -u system -p password&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';"&gt;3. EXPORT "SCHEMA_NAME"."*" AS BINARY INTO '/home/hanauser/hana-database-backups/'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';"&gt;&lt;STRONG&gt;* 258: insufficient privilege: Not authorized SQLSTATE: HY000&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana, sans-serif; font-size: 10pt;"&gt;When I checked the system user, it does have export and import &lt;/SPAN&gt;&lt;SPAN style="font-family: Verdana, sans-serif;"&gt;privilege&lt;/SPAN&gt;&lt;SPAN style="font-family: Verdana, sans-serif; font-size: 10pt;"&gt; so why is it failing complaining about privilege?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Note: The same operation works successfully through UI.&amp;nbsp; (export option in HANA studio).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="9616" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Lars Breddemann" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 16:37:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-hana-import-and-export-data-using-command-line/qaa-p/9492577#M3381955</guid>
      <dc:creator>Virendra_Raval</dc:creator>
      <dc:date>2014-10-30T16:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sap hana import and export data using command line</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-hana-import-and-export-data-using-command-line/qaa-p/9492578#M3381956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The user that should perform the export needs to have the SELECT privilege on the tables to be exported as well. See the documentation on this: &lt;A href="http://help.sap.com/saphelp_hanaplatform/helpdata/en/20/f674e1751910148a8b990d33efbdc5/content.htm" title="http://help.sap.com/saphelp_hanaplatform/helpdata/en/20/f674e1751910148a8b990d33efbdc5/content.htm"&gt;GRANT - SAP HANA SQL and System Views Reference - SAP Library&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides, that's the only way that makes any sense, isn't it? You don't want users that aren't allowed to see the data to be able to export it, just to read it then, won't you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 20:08:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-hana-import-and-export-data-using-command-line/qaa-p/9492578#M3381956</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2014-10-30T20:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sap hana import and export data using command line</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-hana-import-and-export-data-using-command-line/qaa-p/9492579#M3381957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 04:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-hana-import-and-export-data-using-command-line/qaa-p/9492579#M3381957</guid>
      <dc:creator>former_member362340</dc:creator>
      <dc:date>2016-09-01T04:43:15Z</dc:date>
    </item>
  </channel>
</rss>

