Hello all.
I want to create a list of HANA log files that I need in order to restore the Hana database to a specified timestamp.
Scenario
HANA 1.0 rev 74
Host: scale out x 6nodes
O.S.: SLES
Timestamp to restore the database: 2014-11-30 23:30:00.000
Last backup start at Nov 30 19:00
and finish at Nov 30 23:06
Following the SAP Note 1821207(Determining Required Recovery files for HANA) I should use the command
hdbbackupdiag -f -d /usr/sap/SID/backup/log -u "2014-11-3023:30:00"
but I have a strange result from this command!
I obtained the output attached as backupdiag.txt
the strange is that if I analyze the list (1270 files...), I see that for example the last file is created at
ls -lrt /usr/sap/SID/HDB20/backup/log/log_backup_8_0_129864262528_129881037696.1417450717272
Dec 1 17:18 /usr/sap/SID/HDB20/backup/log/log_backup_8_0_129864262528_129881037696.1417450717272
How is it possible that the creation date of the last log file that I need to recover in order to recover the database is greater than Nov 30 23:30 ??
I think there is some trouble.. :-)
I created a simple query on HDBSQL in order to double check the list of hana log to recover starting from the time of the start of the last backup.. and the result is different (query.txt) (the last file is created at Nov 30 23:09)
Is there anybody that can tell me the reason of this problem? I'm doing wrong to run the command hdbbackupdiag ?
Thank you very much
Davide