<?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>topic Re: Automate ArcGIS Relational DataStore Backup in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/automate-arcgis-relational-datastore-backup/m-p/1095905#M31060</link>
    <description>&lt;P&gt;Hi Christopher,&lt;/P&gt;&lt;P&gt;Thanks for your reply. Yes you are right I was missing that --prompt no.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Sep 2021 13:14:49 GMT</pubDate>
    <dc:creator>AYUSHYADAV</dc:creator>
    <dc:date>2021-09-07T13:14:49Z</dc:date>
    <item>
      <title>Automate ArcGIS Relational DataStore Backup</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/automate-arcgis-relational-datastore-backup/m-p/1094264#M31029</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have deployed ArcGIS Base enterprise version &lt;STRONG&gt;10.8.1&lt;/STRONG&gt; in HA (high availability) on AWS. We have to take regular ArcGIS relational datastore backups on the Amazon S3 bucket.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per the &lt;A href="https://enterprise.arcgis.com/en/data-store/10.8/install/windows/data-store-utility-reference.htm#ESRI_SECTION1_35FC910709804CC0AA43C44C5B15F810" target="_blank" rel="noopener"&gt;ESRI documentation&lt;/A&gt;, we can register a secondary backup location for tile cache and spatiotemporal datastores and set that secondary location as the default location for the backups.&lt;/P&gt;&lt;P&gt;And in the case of relational datastore, we register a secondary backup location but we can't set it as a default backup location, We can take only manual backups on the secondary backup location.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AYUSHYADAV_0-1630477655900.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/22151iF4C7D03E90BE31CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AYUSHYADAV_0-1630477655900.png" alt="AYUSHYADAV_0-1630477655900.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, we have registered a secondary backup location for relational datastore on the &lt;STRONG&gt;amazon s3 bucket&lt;/STRONG&gt;, and we want to take regular backups on amazon s3 itself. So, for that, I have created a batch file and scheduled it on the task scheduler.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My &lt;EM&gt;batch file&lt;/EM&gt; looks like this:-&lt;/P&gt;&lt;DIV&gt;cd "C:\Program Files\ArcGIS\DataStore\tools"&lt;BR /&gt;backupdatastore --store relational --location type=s3;location=&amp;lt;s3 bucket name and location&amp;gt;;name=&amp;lt;datastore backup name&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have checked and tested manually it works fine.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The main issue which I am facing after scheduling it on the task scheduler is that when we hit backupdatastore command it prompts for a question that "&lt;STRONG&gt;&lt;EM&gt;Do you want to continue&amp;nbsp; Yes or No?&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;"basically it wants user input after hitting backupdatastore command. And this is the point where the batch file fails or stops.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I just want to know is there any way we can automate the user input in the batch file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;or&lt;/DIV&gt;&lt;DIV&gt;Is there any better alternative way to automate relational datastore backups on amazon s3?&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any help will be much appreciated !!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Sep 2021 06:39:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/automate-arcgis-relational-datastore-backup/m-p/1094264#M31029</guid>
      <dc:creator>AYUSHYADAV</dc:creator>
      <dc:date>2021-09-01T06:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Automate ArcGIS Relational DataStore Backup</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/automate-arcgis-relational-datastore-backup/m-p/1095900#M31059</link>
      <description>&lt;P&gt;You should be able to append '--prompt no' to your command and it will no longer ask whether to continue. The default backup location is required to be a file share for the relational data store, so there is no better built-in method to automate backups to S3 outside of a scheduled task/external script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;configurebackuplocation | ArcGIS Data Store command utility reference—ArcGIS Enterprise | Documentation for ArcGIS Enterprise&lt;BR /&gt;&lt;A href="https://enterprise.arcgis.com/en/data-store/latest/install/windows/data-store-utility-reference.htm#ESRI_SECTION1_35FC910709804CC0AA43C44C5B15F810" target="_blank" rel="noopener"&gt;https://enterprise.arcgis.com/en/data-store/latest/install/windows/data-store-utility-reference.htm#ESRI_SECTION1_35FC910709804CC0AA43C44C5B15F810&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 13:06:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/automate-arcgis-relational-datastore-backup/m-p/1095900#M31059</guid>
      <dc:creator>ChristopherPawlyszyn</dc:creator>
      <dc:date>2021-09-07T13:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Automate ArcGIS Relational DataStore Backup</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/automate-arcgis-relational-datastore-backup/m-p/1095905#M31060</link>
      <description>&lt;P&gt;Hi Christopher,&lt;/P&gt;&lt;P&gt;Thanks for your reply. Yes you are right I was missing that --prompt no.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 13:14:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/automate-arcgis-relational-datastore-backup/m-p/1095905#M31060</guid>
      <dc:creator>AYUSHYADAV</dc:creator>
      <dc:date>2021-09-07T13:14:49Z</dc:date>
    </item>
  </channel>
</rss>

