sp_configure 'enable dump history', 1
This is an online operation, so no restart is required. Having the option "on", after some backups check the following query:
sp_dump_history @operation = 'list', @database_name = 'ALFA'
The output can be similar to:
After enabling the history, consider having also a job that purges the old backup history records. For this @operation should be equal 'purge'. The history is saved in a file. The path to the file is returned by @operation listfiles. This is just a text file that can be dispalyed also using the operating system commands:
[root@SAPSybase ASE-16_0]# cd /opt/sap/ASE-16_0 [root@SAPSybase ASE-16_0]# more dumphist
Result is like:
No comments:
Post a Comment