<?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: Backup creating invalid database file in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831491#M4862334</link>
    <description>&lt;P&gt;Without more infos it's really hard to tell (and I ain't that expert for backups either). A few more questions: Has the MT plan ever worked, or is it just newly created? Does DBBACKUP -s work (it does a server-side backup, just like the BACKUP STATEMENT)? Does a simple log backup work?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Nov 2010 08:23:11 GMT</pubDate>
    <dc:creator>VolkerBarth</dc:creator>
    <dc:date>2010-11-11T08:23:11Z</dc:date>
    <item>
      <title>Backup creating invalid database file</title>
      <link>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaq-p/13831482</link>
      <description>&lt;P&gt;I've got a maintenance plan running that does a validation and then a backup using&lt;/P&gt;

&lt;LI-CODE lang="sql"&gt;backup database directory 'P:\\\\GKBackups' wait before start transaction log rename;
&lt;/LI-CODE&gt;

&lt;P&gt;There seems to be something wrong with the database or something, because the backup file is 'not a valid database file', and it seems the event for the maintenance plan never finished (connections were still disabled; never got email).&lt;/P&gt;

&lt;P&gt;Any thoughts?&lt;/P&gt;

&lt;P&gt;SQLA 10.0.1.3835&lt;/P&gt;

&lt;P&gt;UPDATE:
I did some logging, but I got NOTHING.  The backup just never finishes.  It never throws an exception either.  I have absolutely nothing to go on.  The strange thing is, though, that &lt;CODE&gt;dbbackup.exe&lt;/CODE&gt; will work, just the &lt;CODE&gt;backup database&lt;/CODE&gt; command will not.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2010 13:06:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaq-p/13831482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-09T13:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Backup creating invalid database file</title>
      <link>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831484#M4862327</link>
      <description>&lt;P&gt;Any more infos (dbsrv19 -o log output, error code)?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2010 14:20:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831484#M4862327</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-11-09T14:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Backup creating invalid database file</title>
      <link>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831485#M4862328</link>
      <description>&lt;P&gt;@Volker - That's all I have for now, I'll get the rest for you.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2010 15:02:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831485#M4862328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-09T15:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Backup creating invalid database file</title>
      <link>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831486#M4862329</link>
      <description>&lt;P&gt;Look: Well, as you see, I'm already on SQL Anywhere 19 (&lt;EM&gt;dbsrv19&lt;/EM&gt;) - so I can't tell whether I'll be of help:)&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2010 15:36:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831486#M4862329</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-11-09T15:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Backup creating invalid database file</title>
      <link>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831483#M4862326</link>
      <description>&lt;P&gt;If the backup didn't finish, then the file will be invalid. The last thing we do after the backup completes is update the header of the file to mark it as valid. What you need to find out is why the backup never finished.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2010 16:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831483#M4862326</guid>
      <dc:creator>johnsmirnios</dc:creator>
      <dc:date>2010-11-09T16:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Backup creating invalid database file</title>
      <link>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831487#M4862330</link>
      <description>&lt;P&gt;@Volker - Yeah, I caught that, but I wasn't going to say anything &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2010 00:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831487#M4862330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-10T00:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Backup creating invalid database file</title>
      <link>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831488#M4862331</link>
      <description>&lt;P&gt;Are there any internal issues that would cause a backup not to finish?  I had already did a full validation on the database, and it was fine.&lt;BR /&gt;
&lt;/P&gt;
&lt;P&gt;Either way, the run tonight is logging pretty much everything, so hopefully this will give me some more information.&lt;/P&gt;
&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2010 00:19:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831488#M4862331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-10T00:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Backup creating invalid database file</title>
      <link>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831489#M4862332</link>
      <description>&lt;P&gt;IIRC, I had some issues a while ago (with SA 10.0.1, can't remember the exact build) when using backup as part of a &lt;EM&gt;maintenance plan&lt;/EM&gt;: AFAIK such a plan runs with the "WAIT BEFORE START" clause by default, and in case of (accidentally) long open trancactions, it prevented the backup to start at all... Manually removing that clause in the event handler solved the issue.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2010 08:15:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831489#M4862332</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-11-10T08:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Backup creating invalid database file</title>
      <link>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831490#M4862333</link>
      <description>&lt;P&gt;@Volker - I can run the same statement without that clause, and it still acts the same.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2010 15:08:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831490#M4862333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-10T15:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Backup creating invalid database file</title>
      <link>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831491#M4862334</link>
      <description>&lt;P&gt;Without more infos it's really hard to tell (and I ain't that expert for backups either). A few more questions: Has the MT plan ever worked, or is it just newly created? Does DBBACKUP -s work (it does a server-side backup, just like the BACKUP STATEMENT)? Does a simple log backup work?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2010 08:23:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831491#M4862334</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-11-11T08:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Backup creating invalid database file</title>
      <link>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831492#M4862335</link>
      <description>&lt;P&gt;Any update on this one Calvin?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2011 20:02:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/backup-creating-invalid-database-file/qaa-p/13831492#M4862335</guid>
      <dc:creator>former_SQLA_member1694868</dc:creator>
      <dc:date>2011-09-08T20:02:41Z</dc:date>
    </item>
  </channel>
</rss>

