[YDB#835] [#537] [V7.0-001] [GTM-8681] Add v70001/gtm8681 test to verify MUPIP BACKUP -RECORD stores the time of start when it completes successfully
Most of the validation in this test happens in the M environment in gtm8681.m. Here's the test description from the comments in the gtm8681.m description:
Methodology:
- Verify recorded backup time is 0.
- Record start time with $ZUT (converted to seconds).
- Run MUPIP BACKUP -RECORD
- Record end time with $ZUT (converted to seconds)
- Fetch the recorded backup time via $$^PEEKBYNAME()
- Verify the recorded backup time falls between the times in steps 2 and 4.
- Verify the value extracted via ^%PEEKBYNAME of sgmnt_data.last_start_backup is the same as the date returned.
- Part 2 - start with a fresh DB, force a backup to fail using WBTEST_BACKUP_FORCE_MV_RV white box test and then verify the last_start_backup field was not modified (from 'Never').
Edited by Steven Estes