<?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: Incremental testing Issue to proceeed in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Incremental-testing-Issue-to-proceeed/m-p/1885031#M1700</link>
    <description>&lt;P&gt;Thanks for responding Steve. The LSN format is different in Attunity, how do we convert SQL server LSN to the attunity format?&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jan 2022 13:46:20 GMT</pubDate>
    <dc:creator>SaranyaK</dc:creator>
    <dc:date>2022-01-25T13:46:20Z</dc:date>
    <item>
      <title>Incremental testing Issue to proceeed</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Incremental-testing-Issue-to-proceeed/m-p/1884826#M1697</link>
      <description>&lt;P&gt;I am working on incremental testing. I want to test incremental on a old task&amp;nbsp; (SQL server to Attunity) on the dev environment that has been stoppped for few months now. This task uses "Backup logs only" option to load incremental data. I went to advanced options and tried to start from 2hrs ago, but it still went back to the past when the task was stopped saying missing backup files from the past.&amp;nbsp; How can I resume the task to only go back to an hour back and not get stuck in the past without having to do a full load, as we dont have backups from few months and we dont want to enable online logs. Please advise.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 05:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Incremental-testing-Issue-to-proceeed/m-p/1884826#M1697</guid>
      <dc:creator>SaranyaK</dc:creator>
      <dc:date>2022-01-25T05:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental testing Issue to proceeed</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Incremental-testing-Issue-to-proceeed/m-p/1885028#M1699</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/153059"&gt;@SaranyaK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Replicate read from the MSDB database, so best to check with your DBA if there anything strange or anything strange in the MSDB database.&lt;/P&gt;
&lt;P&gt;2. have you try to start using LSN that was 2hours ago?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 13:43:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Incremental-testing-Issue-to-proceeed/m-p/1885028#M1699</guid>
      <dc:creator>Steve_Nguyen</dc:creator>
      <dc:date>2022-01-25T13:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental testing Issue to proceeed</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Incremental-testing-Issue-to-proceeed/m-p/1885031#M1700</link>
      <description>&lt;P&gt;Thanks for responding Steve. The LSN format is different in Attunity, how do we convert SQL server LSN to the attunity format?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 13:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Incremental-testing-Issue-to-proceeed/m-p/1885031#M1700</guid>
      <dc:creator>SaranyaK</dc:creator>
      <dc:date>2022-01-25T13:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental testing Issue to proceeed</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Incremental-testing-Issue-to-proceeed/m-p/1885177#M1709</link>
      <description>&lt;P&gt;Replicate LSN vs SQLserver is just a matter of&amp;nbsp; Hexadecimal vs Decimal. Use any calculator to resolve. Personally I often use PERL as per below. Replicate itself creates a stored function in the source DB which you can use "CREATE FUNCTION [dbo].[attrep_fn_NumericLsnToHexa](@numeric25Lsn numeric(25,0)) returns varchar(32) AS... "&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Back to the main problem&amp;nbsp; "&lt;SPAN&gt;&amp;nbsp;How can I resume the task to only go back to an hour back and not get stuck in the past&amp;nbsp;". Well in an archive-log only task Replicate asks the source for&amp;nbsp; the right archive containing the requested start time by looking at start_date in&amp;nbsp;msdb.dbo.backupset.&amp;nbsp; See sample query below. That backup could be months ago and deleted since, if no further LOG backup was ever made. I suggest you create a fresh log backup here and now and try again.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;hth,&lt;/P&gt;
&lt;P&gt;Hein&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;select
        bs.backup_start_date,  bs.first_lsn,
        [dbo].[fn_NumericLsnToHexa](bs.first_lsn) "first_lsn - hex",
        [dbo].[fn_NumericLsnToHexa](bs.last_lsn) "last_lsn - hex",
        bs.backup_size/(1024*1024) "MB",
        bmf.physical_device_name
from msdb.dbo.backupmediafamily bmf, msdb.dbo.backupset bs
where   bmf.media_set_id = bs.media_set_id
and     bs.database_name=db_name() and bs.type='L'
and     bs.backup_start_date &amp;gt; getdate() - 2&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;gt; perl -le "printf q(%0X),1234567890
499602D2
&amp;gt; perl -le "printf 0X499602D2
1234567890&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 16:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Incremental-testing-Issue-to-proceeed/m-p/1885177#M1709</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2022-01-25T16:27:38Z</dc:date>
    </item>
  </channel>
</rss>

