<?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: DATABASE BACKUP IN SYBASE in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/database-backup-in-sybase/qaa-p/11379696#M4223809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkata,&lt;/P&gt;&lt;P&gt;additionally to the others accurate comments: the backuped databae is *only* the one you speficied on the dump command, that is, you will have a dump command done for each database.&lt;/P&gt;&lt;P&gt;Besides that, the tempdb is not required to be dumped, neither its transaction log. Tempdb is recreated each time you restart your ASE. The "tempdb" name stands for "temporary database", and contains temporary tables internally generated and session-specific. So a dump won't be useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may check those SAP Notes:&lt;BR /&gt;&lt;A href="http://service.sap.com/sap/support/notes/1585981" title="1585981  - SYB: Ensuring Recoverability for SAP ASE"&gt;&lt;SPAN class="title"&gt;1585981 - SYB: Ensuring Recoverability for SAP ASE&lt;/SPAN&gt; &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://service.sap.com/sap/support/notes/1588316" title="1588316  - SYB: Configure automatic database and log backups"&gt;&lt;SPAN class="title"&gt;1588316 - SYB: Configure automatic database and log backups&lt;/SPAN&gt; &lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;you'll see there that it is recommended to use a dump configurations, then the dump database or dump transaction will use them (and with an easier command syntax &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1381/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt; ). &lt;/P&gt;&lt;P&gt;&lt;A href="https://css.wdf.sap.corp/sap/support/notes/1801984" title="1801984  - SYB: Automated management of long running transactions"&gt;&lt;SPAN class="title"&gt;1801984 - SYB: Automated management of long running transactions&lt;/SPAN&gt;&amp;nbsp; &lt;/A&gt; this explains how to create a threshold for transaction log to prevent it to be fulfilled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Victoria.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Nov 2015 09:29:41 GMT</pubDate>
    <dc:creator>victoria_normand</dc:creator>
    <dc:date>2015-11-18T09:29:41Z</dc:date>
    <item>
      <title>DATABASE BACKUP IN SYBASE</title>
      <link>https://community.sap.com/t5/technology-q-a/database-backup-in-sybase/qaq-p/11379693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one doubt. we are taking backup of our sybase database using isql editor with command&lt;/P&gt;&lt;P&gt;isql -Usapsa -SSID -Ppassword -X&lt;/P&gt;&lt;P&gt;use KEP&lt;/P&gt;&lt;P&gt;go&lt;/P&gt;&lt;P&gt;dumpdatabase SID to "/db/....dmp"&lt;/P&gt;&lt;P&gt;go&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with this command is everything will backed up&amp;nbsp; or else can i take backup separately for transaction logs tempdb etc..i am new to sybase please&lt;/P&gt;&lt;P&gt;guide me regarding on this. Is it possible to completely restore the database with the above taken database backup using the above commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 05:29:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-backup-in-sybase/qaq-p/11379693</guid>
      <dc:creator>former_member230979</dc:creator>
      <dc:date>2015-11-16T05:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: DATABASE BACKUP IN SYBASE</title>
      <link>https://community.sap.com/t5/technology-q-a/database-backup-in-sybase/qaa-p/11379694#M4223807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sudheer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the above command everything will be backed up. Until unless during this backup duration no transactions are happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually transactional backups are useful when backup is old one(may be one old) and current transactions are backed up using transactional backup. In this case you will need both complete backup as well as transactional backup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With above explained scenario you will be able to restore complete system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 05:45:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-backup-in-sybase/qaa-p/11379694#M4223807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-16T05:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: DATABASE BACKUP IN SYBASE</title>
      <link>https://community.sap.com/t5/technology-q-a/database-backup-in-sybase/qaa-p/11379695#M4223808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Full database dump includes the transactions up to the point the database backup runs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Dump transaction releases transaction log space used by committed transactions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"truncating transaction log"&amp;nbsp; takes place only via&amp;nbsp; "dump transaction" command.&lt;/P&gt;&lt;P&gt;If dump transaction is not run the available transaction logs space keeps reducing till it gets full and then no further transaction can take place for that database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bottom line &lt;/P&gt;&lt;P&gt;dump database&amp;nbsp; is full database backup, but does not release transaction log space&lt;/P&gt;&lt;P&gt;dump transaction is needed to restore transactions after the last full backup up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avinash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 16:51:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-backup-in-sybase/qaa-p/11379695#M4223808</guid>
      <dc:creator>former_member89972</dc:creator>
      <dc:date>2015-11-16T16:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: DATABASE BACKUP IN SYBASE</title>
      <link>https://community.sap.com/t5/technology-q-a/database-backup-in-sybase/qaa-p/11379696#M4223809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkata,&lt;/P&gt;&lt;P&gt;additionally to the others accurate comments: the backuped databae is *only* the one you speficied on the dump command, that is, you will have a dump command done for each database.&lt;/P&gt;&lt;P&gt;Besides that, the tempdb is not required to be dumped, neither its transaction log. Tempdb is recreated each time you restart your ASE. The "tempdb" name stands for "temporary database", and contains temporary tables internally generated and session-specific. So a dump won't be useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may check those SAP Notes:&lt;BR /&gt;&lt;A href="http://service.sap.com/sap/support/notes/1585981" title="1585981  - SYB: Ensuring Recoverability for SAP ASE"&gt;&lt;SPAN class="title"&gt;1585981 - SYB: Ensuring Recoverability for SAP ASE&lt;/SPAN&gt; &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://service.sap.com/sap/support/notes/1588316" title="1588316  - SYB: Configure automatic database and log backups"&gt;&lt;SPAN class="title"&gt;1588316 - SYB: Configure automatic database and log backups&lt;/SPAN&gt; &lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;you'll see there that it is recommended to use a dump configurations, then the dump database or dump transaction will use them (and with an easier command syntax &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1381/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt; ). &lt;/P&gt;&lt;P&gt;&lt;A href="https://css.wdf.sap.corp/sap/support/notes/1801984" title="1801984  - SYB: Automated management of long running transactions"&gt;&lt;SPAN class="title"&gt;1801984 - SYB: Automated management of long running transactions&lt;/SPAN&gt;&amp;nbsp; &lt;/A&gt; this explains how to create a threshold for transaction log to prevent it to be fulfilled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Victoria.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 09:29:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-backup-in-sybase/qaa-p/11379696#M4223809</guid>
      <dc:creator>victoria_normand</dc:creator>
      <dc:date>2015-11-18T09:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: DATABASE BACKUP IN SYBASE</title>
      <link>https://community.sap.com/t5/technology-q-a/database-backup-in-sybase/qaa-p/11379697#M4223810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkata,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will this mentioned in the notes listed by Victoria. But if you need the archive logs for point in time restore you will have enable this to be backed up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use master&lt;/P&gt;&lt;P&gt;go&lt;/P&gt;&lt;P&gt;sp_dboption SID, 'trunc. log on chkpt',false&lt;/P&gt;&lt;P&gt;go&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you will need to do your dump configurations with your specific backup locations specific and naming conventions specified i.e. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take note to substitute SID with your sid. And to amend stripe dir location as applicable on your system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;gt; sp_config_dump @config_name='SIDDB',&lt;/P&gt;&lt;P&gt;2&amp;gt; @stripe_dir ='D:\Backup\Database',&lt;/P&gt;&lt;P&gt;3&amp;gt; @compression = '101',&lt;/P&gt;&lt;P&gt;4&amp;gt; @verify = 'header'&lt;/P&gt;&lt;P&gt;5&amp;gt; go&lt;/P&gt;&lt;P&gt;The change is completed. The option is dynamic and ASE need not be rebooted for&lt;/P&gt;&lt;P&gt;the change to take effect.&lt;/P&gt;&lt;P&gt;(return status = 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;gt; sp_config_dump @config_name='SIDLOG',&lt;/P&gt;&lt;P&gt;2&amp;gt; @stripe_dir ='B:\Log_Archives',&lt;/P&gt;&lt;P&gt;3&amp;gt; @compression = '101',&lt;/P&gt;&lt;P&gt;4&amp;gt; @verify = 'header'&lt;/P&gt;&lt;P&gt;5&amp;gt; go&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On your production systems also set:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'full logging for all', 'true'&lt;/P&gt;&lt;P&gt;'enforce dump tran sequence', 'true'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also as mentioned by 1801984 you can look at a document I created, this process triggers archive log backups in the database by using thresholds specificied on page limits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-65767" style="font-size: 10pt;" title="http://scn.sap.com/docs/DOC-65767"&gt;http://scn.sap.com/docs/DOC-65767&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to this if you ATM setup and autoexstension you also need to run dumps of the databases as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;DBSID&amp;gt; database (SAP database)&lt;/P&gt;&lt;P&gt;master database&lt;/P&gt;&lt;P&gt;sybsystemprocs database (a restore is required when automatic database expansion has been set&lt;/P&gt;&lt;P&gt;up)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check recommendation in note especially in relation with the database parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1611715 - SYB: How to restore an SAP ASE database server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As victoria mentioned for each of the databases you need backed up you will have to create a seperate job in dbacockpit schedule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Johan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 09:58:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/database-backup-in-sybase/qaa-p/11379697#M4223810</guid>
      <dc:creator>Johan_sapbasis</dc:creator>
      <dc:date>2015-11-18T09:58:03Z</dc:date>
    </item>
  </channel>
</rss>

