<?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>article Qlik NPrinting 17.x Repository Backup Batch File in Member Articles</title>
    <link>https://community.qlik.com/t5/Member-Articles/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/ta-p/1477907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Users should be aware that the NPrinting 17.x repository &lt;EM&gt;may&lt;/EM&gt; be removed in case of a failed upgrade: &lt;A href="https://community.qlik.com/qlik-blogpost/4927"&gt;Upgrading NPrinting?&amp;nbsp; Read this&lt;/A&gt;. Taking regular backups of your files &amp;amp; data is always a good idea anyway and &lt;A href="http://help.qlik.com/en-US/nprinting/17.1/Content/AdministeringQVNprinting/BackupRestoreRepository/Backup-restore.htm?_ga=1.90488798.559943456.1449705142"&gt;backing up your NPrinting Repository &lt;/A&gt;should be no different. Here is a batch file that you could run using your Windows Task Scheduler to automate Qlik NPrinting Repository backups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Features:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Accepts the Repository password as the only parameter. Terminates if no password is provided&lt;/LI&gt;&lt;LI&gt;Checks to see if services &lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN class="NprintingQlikNPrinting QlikView"&gt;QlikNPrinting&lt;/SPAN&gt;Engine, &lt;SPAN class="NprintingQlikNPrinting QlikView"&gt;QlikNPrinting&lt;/SPAN&gt;Scheduler &lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;and&lt;/SPAN&gt; &lt;SPAN class="NprintingQlikNPrinting QlikView"&gt;QlikNPrinting&lt;/SPAN&gt;WebEngine&lt;/SPAN&gt; are running and stops them before the backup. Starts them after the backup succeeds or fails. &lt;EM&gt;&lt;STRONG&gt;Be sure to schedule your backups when there are no other NPrinting tasks running or scheduled to run&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;Creates a new compressed file every time and parses date &amp;amp; time to name it&lt;/LI&gt;&lt;LI&gt;Logs each step of the backup process to a log file with the same name&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To change manually&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Change this line to specify the backup destination folder: &lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;set&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;BACKUPDIR&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;"C:\NPrintingBackups\&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Uncomment the appropriate line with the names of the services depending on the version of NPrinting. Documented in-line&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Disclaimer&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Provided "as is". If you decide to use this batch file please test to make sure it works for you&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH - Daniel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Aug 2016 03:23:19 GMT</pubDate>
    <dc:creator>Daniel_Jenkins</dc:creator>
    <dc:date>2016-08-14T03:23:19Z</dc:date>
    <item>
      <title>Qlik NPrinting 17.x Repository Backup Batch File</title>
      <link>https://community.qlik.com/t5/Member-Articles/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/ta-p/1477907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Users should be aware that the NPrinting 17.x repository &lt;EM&gt;may&lt;/EM&gt; be removed in case of a failed upgrade: &lt;A href="https://community.qlik.com/qlik-blogpost/4927"&gt;Upgrading NPrinting?&amp;nbsp; Read this&lt;/A&gt;. Taking regular backups of your files &amp;amp; data is always a good idea anyway and &lt;A href="http://help.qlik.com/en-US/nprinting/17.1/Content/AdministeringQVNprinting/BackupRestoreRepository/Backup-restore.htm?_ga=1.90488798.559943456.1449705142"&gt;backing up your NPrinting Repository &lt;/A&gt;should be no different. Here is a batch file that you could run using your Windows Task Scheduler to automate Qlik NPrinting Repository backups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Features:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Accepts the Repository password as the only parameter. Terminates if no password is provided&lt;/LI&gt;&lt;LI&gt;Checks to see if services &lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN class="NprintingQlikNPrinting QlikView"&gt;QlikNPrinting&lt;/SPAN&gt;Engine, &lt;SPAN class="NprintingQlikNPrinting QlikView"&gt;QlikNPrinting&lt;/SPAN&gt;Scheduler &lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;and&lt;/SPAN&gt; &lt;SPAN class="NprintingQlikNPrinting QlikView"&gt;QlikNPrinting&lt;/SPAN&gt;WebEngine&lt;/SPAN&gt; are running and stops them before the backup. Starts them after the backup succeeds or fails. &lt;EM&gt;&lt;STRONG&gt;Be sure to schedule your backups when there are no other NPrinting tasks running or scheduled to run&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;Creates a new compressed file every time and parses date &amp;amp; time to name it&lt;/LI&gt;&lt;LI&gt;Logs each step of the backup process to a log file with the same name&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To change manually&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Change this line to specify the backup destination folder: &lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;set&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;BACKUPDIR&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;"C:\NPrintingBackups\&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Uncomment the appropriate line with the names of the services depending on the version of NPrinting. Documented in-line&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Disclaimer&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Provided "as is". If you decide to use this batch file please test to make sure it works for you&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH - Daniel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Aug 2016 03:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/ta-p/1477907</guid>
      <dc:creator>Daniel_Jenkins</dc:creator>
      <dc:date>2016-08-14T03:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik NPrinting 17.x Repository Backup Batch File</title>
      <link>https://community.qlik.com/t5/Member-Articles/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/tac-p/1477908#M2036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the services settings the same for 17.2 as they are for 17.1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 16:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/tac-p/1477908#M2036</guid>
      <dc:creator>rittermd</dc:creator>
      <dc:date>2017-01-03T16:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik NPrinting 17.x Repository Backup Batch File</title>
      <link>https://community.qlik.com/t5/Member-Articles/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/tac-p/1477909#M2037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The services that are stopped and started have the same names in versions 17.1 &amp;amp; 17.2.x so I don't see the need to edit the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH - Daniel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 23:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/tac-p/1477909#M2037</guid>
      <dc:creator>Daniel_Jenkins</dc:creator>
      <dc:date>2017-01-03T23:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik NPrinting 17.x Repository Backup Batch File</title>
      <link>https://community.qlik.com/t5/Member-Articles/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/tac-p/1477910#M2038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;!Hi There&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to implement this but as the Command Prompt runs its says access is denied while Stopping and Starting the Services, but in the log file its says it was successful. The services did not Stop and Start though. I have entered the Password in place of the &lt;SPAN style="font-size: 13.3333px;"&gt;%~1&lt;/SPAN&gt; in the batch file.&lt;/P&gt;&lt;P&gt;Is there something I am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Batch File result.PNG" class="jive-image image-1" height="301" src="/legacyfs/online/155857_Batch File result.PNG" style="height: 301.548px; width: 410px;" width="410" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Batch File Log.PNG" class="jive-image image-2" height="141" src="/legacyfs/online/155858_Batch File Log.PNG" style="height: 140.903px; width: 520px;" width="520" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 02:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/tac-p/1477910#M2038</guid>
      <dc:creator>AcumenJonFoote</dc:creator>
      <dc:date>2017-03-10T02:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik NPrinting 17.x Repository Backup Batch File</title>
      <link>https://community.qlik.com/t5/Member-Articles/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/tac-p/1477911#M2039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not great in writing batch files and i tried to automate backup of repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i would need pass through/embed password in the code, but i could not get it working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a batch file where i could only paste my password in it as a parameter, save and have it scheduled in windows scheduler so my repo would be backed up on regular basis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this would be a great help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 09:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/tac-p/1477911#M2039</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2017-11-27T09:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik NPrinting 17.x Repository Backup Batch File</title>
      <link>https://community.qlik.com/t5/Member-Articles/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/tac-p/1477912#M2040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lech,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/184858_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;1. Remove or remark out line 13&lt;/P&gt;&lt;P&gt;2. replace &lt;SPAN style="color: #000000; font-size: 12pt; font-family: 'Courier New';"&gt;%~1 &lt;/SPAN&gt;with your password&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use it as is and simply add the password as an argument in the Windows Task Scheduler Task&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/184859_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;HTH - Daniel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 07:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/tac-p/1477912#M2040</guid>
      <dc:creator>Daniel_Jenkins</dc:creator>
      <dc:date>2017-11-28T07:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik NPrinting 17.x Repository Backup Batch File</title>
      <link>https://community.qlik.com/t5/Member-Articles/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/tac-p/1477913#M2041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was close, but did not know where i should type the parameter in. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it all makes sense - thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 12:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/tac-p/1477913#M2041</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2017-11-28T12:10:17Z</dc:date>
    </item>
  </channel>
</rss>

