Time when a partition was frozen

Forums for specific tips, techniques and example code
torrie
Posts: 92
Joined: Fri Aug 14, 2009 11:24 am

Time when a partition was frozen

Postby torrie » Wed Mar 30, 2011 2:14 pm

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

cnwjd
Posts: 6
Joined: Tue Nov 10, 2009 4:00 pm

Re: Time when a partition was frozen

Postby cnwjd » Thu Mar 31, 2011 10:26 am

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.
Just Another Developer

torrie
Posts: 92
Joined: Fri Aug 14, 2009 11:24 am

Re: Time when a partition was frozen

Postby torrie » Thu Mar 31, 2011 10:58 am

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.)

cnwjd
Posts: 6
Joined: Tue Nov 10, 2009 4:00 pm

Re: Time when a partition was frozen

Postby cnwjd » Thu Mar 31, 2011 3:20 pm

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.
Just Another Developer


Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 0 guests