Page 1 of 1
Time when a partition was frozen
Posted: Wed Mar 30, 2011 2:14 pm
by torrie
Does anyone know how to check when a partition was frozen. If the partition is frozen does the JadeDbFilePartition::getModifiedTimestamp method return the time that it was frozen? We're looking to check that the file has been backed up since it was last frozen.
Thanks
Torrie
Re: Time when a partition was frozen
Posted: Thu Mar 31, 2011 10:26 am
by cnwjd
Torrie,
A partition's 'modified timestamp' is updated when it is frozen or thawed as part of the operation that changes its volatility. So, yes the JadeDbFilePartition::getModifiedTimestamp will return the date and time it was frozen.
You may find the following JadeDbFilePartition methods
JadeDbFilePartition::getBackupTimestamp
JadeDbFilePartition::getFullBackupTimestamp
used in conjunction with
JadeDataBaseAdmin::getLatestFullBackupTimestamp
JadeDataBaseAdmin::getLatestBackupTimestamp
useful in the context of your query.
Re: Time when a partition was frozen
Posted: Thu Mar 31, 2011 10:58 am
by torrie
Thanks
We were reading the help ion the getBackupTimestamp and getFullBackupTimestamp methods on the JadeDBFilePartition class and the help is exactly the same. I wondered if the help should be similar to the DBFile class were the getBackupTimestamp is the time that the file was backed up (with the possibility that recovery is required) and the getFullBackupTimestamp is the time that a stable backup was taken (no recovery required.)
Re: Time when a partition was frozen
Posted: Thu Mar 31, 2011 3:20 pm
by cnwjd
There is a subtle but significant difference, the getFullBackupTimestamp qualifies backup with the word 'full' as in: 'was stable in a full backup'. A full backup is a backup that backed up ALL files and ALL file partitions.
These methods are correctly documented for the JadeDbFilePartition class. The DbFile versions should be the same.
Note: the term stable applies to the file or partition not the backup as a whole. Stable, in this context, means the file or partition was not modified during an online backup and therefore does not require backup recovery to restore file integrity.