<?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 Backup NPrinting script as a batch file (e.g. .BAT or Powershell) that also produces a log file? in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Backup-NPrinting-script-as-a-batch-file-e-g-BAT-or-Powershell/m-p/1869650#M34412</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;Does anyone have the NPrinting backup script as a batch file that also produces a log file?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/February2021/Content/NPrinting/DeployingQVNprinting/Backing-up-Qlik-NPrinting.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/February2021/Content/NPrinting/DeployingQVNprinting/Backing-up-Qlik-NPrinting.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I would like the above backup process (e.g. stop the services, run the commands, log the messages in a file) in the above to be in a batch file.&lt;/P&gt;
&lt;P&gt;We do not know how to write such a batch file so ask for help.&lt;/P&gt;
&lt;P&gt;Reason being is then we can let Windows Task Scheduler run this task especially where the backups can take some time due to the size.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Dec 2021 09:53:21 GMT</pubDate>
    <dc:creator>iLoveDataVis</dc:creator>
    <dc:date>2021-12-13T09:53:21Z</dc:date>
    <item>
      <title>Backup NPrinting script as a batch file (e.g. .BAT or Powershell) that also produces a log file?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Backup-NPrinting-script-as-a-batch-file-e-g-BAT-or-Powershell/m-p/1869650#M34412</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;Does anyone have the NPrinting backup script as a batch file that also produces a log file?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/February2021/Content/NPrinting/DeployingQVNprinting/Backing-up-Qlik-NPrinting.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/February2021/Content/NPrinting/DeployingQVNprinting/Backing-up-Qlik-NPrinting.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I would like the above backup process (e.g. stop the services, run the commands, log the messages in a file) in the above to be in a batch file.&lt;/P&gt;
&lt;P&gt;We do not know how to write such a batch file so ask for help.&lt;/P&gt;
&lt;P&gt;Reason being is then we can let Windows Task Scheduler run this task especially where the backups can take some time due to the size.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 09:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Backup-NPrinting-script-as-a-batch-file-e-g-BAT-or-Powershell/m-p/1869650#M34412</guid>
      <dc:creator>iLoveDataVis</dc:creator>
      <dc:date>2021-12-13T09:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Backup NPrinting script as a batch file (e.g. .BAT or Powershell) that also produces a log file?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Backup-NPrinting-script-as-a-batch-file-e-g-BAT-or-Powershell/m-p/1869672#M34413</link>
      <description>&lt;DIV&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You can refer below script for backup automation. (This wont generate a log file) but will take a site backup.&lt;/P&gt;
&lt;P&gt;Put password in place of red highlighted * and check for the folder structure.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/93998"&gt;@Echo&lt;/a&gt; OFF&lt;BR /&gt;NET STOP "QlikNPrintingEngine" /y&lt;BR /&gt;NET STOP "QlikNPrintingScheduler" /y&lt;BR /&gt;NET STOP "QlikNPrintingWebEngine" /y&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;SET PGPASSWORD=&lt;FONT color="#FF0000"&gt;*****&lt;/FONT&gt;&lt;BR /&gt;SET exec="C:\Program Files\NPrintingServer\Tools\Manager\Qlik.Nprinting.Manager.exe"&lt;BR /&gt;SET PGBIN="C:\Program Files\NPrintingServer\pgsql\bin"&lt;BR /&gt;%exec% backup -f "D:\backup\NPRINTING REPO BACKUP\QSR_NP_%date:~-4,4%%date:~-7,2%%date:~-10,2%_backup.zip" -p %PGBIN% --pg-password %PGPASSWORD%&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NET START "QlikNPrintingWebEngine" /y&lt;BR /&gt;NET START "QlikNPrintingScheduler" /y&lt;BR /&gt;NET START "QlikNPrintingEngine" /y&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Ashutosh&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Dec 2021 10:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Backup-NPrinting-script-as-a-batch-file-e-g-BAT-or-Powershell/m-p/1869672#M34413</guid>
      <dc:creator>AshutoshBhumkar</dc:creator>
      <dc:date>2021-12-13T10:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Backup NPrinting script as a batch file (e.g. .BAT or Powershell) that also produces a log file?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Backup-NPrinting-script-as-a-batch-file-e-g-BAT-or-Powershell/m-p/1869679#M34414</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;
&lt;P&gt;I use this one:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Documents/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/ta-p/1477907" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Documents/Qlik-NPrinting-17-x-Repository-Backup-Batch-File/ta-p/1477907&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and it generates simple log file as well&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 10:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Backup-NPrinting-script-as-a-batch-file-e-g-BAT-or-Powershell/m-p/1869679#M34414</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2021-12-13T10:20:35Z</dc:date>
    </item>
  </channel>
</rss>

