on 08-23-2016 12:18 PM
Hei,
I have the following practical question regarding Hana Log Backups.
Normally the Log Backups are set to: Automatic send to an external location using backint integration.
But if the external location is unavailable (defect or maintenance) we need to switch to file backup for Log Backups.
The question now is the following:
Given is that the external backup location is unavailable for 48 hours.
Hana is up and running.
I want to calculate how many MB it has written to Log Backup the last 48 hours.
With this info I can make a calculation (not 100% but ok for me) how big the filesystem should be where I can send the File Log Backups to.
Who has any tips on how to attack this question ??
Credits for the good tip/hint
Kind regards,
Frans Trip
Hi Johan,
Assuming there is no big change during daily business operation, the daily space required for log backup in filesystem can be got from the daily size report (check your third-party backup tools) of log backup using backint.
Regards,
Ning
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Johan,
1. In SAP HANA studio, go to the Systems view.
2. Open a system.
3. Double-click Backup.
4. Check size of log backup in Backup Catalog tab -> Show Log Backups (you need to manually calculate the total size).
Or you can also view information (manually write some SQL to calculate total size for log backup) using monitoring views M_BACKUP_CATALOG and M_BACKUP_CATALOG_FILES.
Regards,
Ning
Hi Frans,
Try the following SQL which will give you a daily sum of the backed up logs. It's not elegant but it gets you the daily info.
select TO_DATS(t1.SYS_END_TIME), sum(t2.backup_size) FROM SYS.M_BACKUP_CATALOG t1, SYS.M_BACKUP_CATALOG_FILES t2 WHERE t1.entry_id = t2.entry_id AND (t1.ENTRY_TYPE_NAME = 'log backup') and (rtrim(t1.STATE_NAME) = 'successful') group by TO_DATS(t1.SYS_END_TIME) ;
Cheers,
Amerjit
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.