How to check db refresh completed successfully sybase ASE.LINUX Shell commands cat and grep

How to check db refresh completed successfully or not(backup log)

There are several ways,few of them listed below

1)cat errorlog_Syb_BACKUP | grep -i ‘LOAD is complete’

2)MDA tables:-monOpenDatabases

Select DBID,BackupInProgress,LastBackupFailed,TransactionLogFull,DBName,BackupStartTime,LastCheckpointTime,LastTranLogDumpTime from master..monOpenDatabases

2)dbcc traceon(3604)

go

dbcc dbtable(<mydatabase>|<mydbid>)

go

–look for “dbt_verstimestamp”

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s