We are trying to perform time in recovery and have copied data/log files from the source system. However , the script hdbbackupdiag produced error for DATA files i.e file not found reason being as a part of our backup strategy we are renaming the prefix of DATA files ( using script) .
hdbbackupdiag --check --logDirs <path to log directory> --dataDir < path to data directory> -f -u "year:month:date time"
found backup catalog xxxxxxxxxxxxxxxxx from file /hana/xxxxx/xxx/log_backup_0_0_0_0.xxxxxxxxxxxxxxxx
using backup catalog xxxxxxxxxxxxxxxx from file /hana/xxx/xxx/log_backup_0_0_0_0.xxxxxxxxxxxxx
ERROR: [111119] file '/xxx/xxx/SID_Backup_XXXX/COMPLETE_DATA_BACKUP_databackup_0_1' not found
ERROR: Backup '/xxx/xxx/SID_Backup_XXXX/COMPLETE_DATA_BACKUP_databackup_0_1' check failed.
ERROR: [111119] file '/xxx/xxx/SID_Backup_XXXX//COMPLETE_DATA_BACKUP_databackup_1_1' not found
Therefore, we restored the DATA file with option " Specify backup without catalog" however , when I am trying to perform point in time recovery the above script is giving me below error for CLEAR LOG.
Any idea Why ?
found backup catalog xxxxxxxxxxxxxxxxx from file /hana/xxxxx/xxx/log_backup_0_0_0_0.xxxxxxxxxxxxxxxx
using backup catalog xxxxxxxxxxxxxxxx from file /hana/xxx/xxx/log_backup_0_0_0_0.xxxxxxxxxxxxx
ERROR: [111024] CLEAR LOG is required for this operation.
Thanks,