Quantcast
Channel: SCN : Unanswered Discussions - SAP Applications on SAP Adaptive Server Enterprise (SAP ASE)
Viewing all articles
Browse latest Browse all 809

Sybase cumulative backup vs traditional log backup

$
0
0

In ASE 15.7 SP100 or higher versions, cumulative backups are supported. My question is, can both cumulative backup and log backup run at the same time for a database?

 

For example, say, at time t1, we have a completed full backup (full1) of database foo, and

at time t2, we have the first log backup completed, log1.

Now, a cumulative backup is running, and another log backup (log2) starts, and finishes at time t3 while the cumulative backup is still running.

The cumulative backup (cml1) finishes at time t4.

Another log backup (log3) finishes at time t5.

 

Is it a valid scenario (to let log2 and cml1 run at the same time), or does an application (which performs Sybase backups using 3rd party API) need to prevent such concurrent cumulative and log backups?

 

If it is valid to run both concurrently (does not result in data corruption), then

 

  • to restore the database up to a time between t2 and t3, we will use full1 + log1 + log2 upto the target time.

 

  • to restore the database up to a time between t4 and t5, we will use full1 + cml1 + log3 upto the target time.

 

Please correct me if I am wrong.

 

Thanks,

Ali


Viewing all articles
Browse latest Browse all 809

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>