Caché System Administration Guide - InterSystems Documentation
Caché System Administration Guide - InterSystems Documentation
Caché System Administration Guide - InterSystems Documentation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Backup Strategy<br />
For more detailed information on the two-phase write protocol and the recovery procedure, see the<br />
“Write Image Journaling” chapter of the <strong>Caché</strong> Data Integrity <strong>Guide</strong>.<br />
10.3 Backup Strategy<br />
Selecting, implementing, and validating an appropriate backup plan are critical aspects of proper <strong>Caché</strong><br />
administration and maintaining a highly available system. <strong>Caché</strong> contains many built-in tools to help<br />
implement a backup strategy. Your backup procedures can use internal <strong>Caché</strong> tools and utilities, be<br />
completely external to <strong>Caché</strong>, or be a mix-and-match approach using both internal and external tools.<br />
You can vary these strategies based on your environment: the operating system, preferred backup<br />
utilities, disk configurations, and backup devices.<br />
All <strong>Caché</strong> content to back up is in cache.dat and their corresponding cache.ext files. In addition, you<br />
should also back up the transaction log—the journal files—nightly to ensure you have the capability<br />
to restore the transactional integrity of your database by rolling back uncommitted transactions (the<br />
databases may have contained partial transactions at the time of the backup).<br />
The best and most common strategy for backing up <strong>Caché</strong> databases is to perform daily online concurrent<br />
backups during the slowest period of a production day. You do not have to stop <strong>Caché</strong> to back up your<br />
data; therefore, you do not impact users of the system. There are various ways to backup up a <strong>Caché</strong><br />
system.<br />
For detailed information on the importance of backups and journals, types of backup methods, and<br />
procedures for configuring backup tasks and running backups and restores, see the “Backup and<br />
Restore” chapter of the <strong>Caché</strong> Data Integrity <strong>Guide</strong>.<br />
10.4 Logical Data Protection<br />
Applications need to ensure that sets of related database changes work correctly. This type of application<br />
integrity is called logical integrity. <strong>Caché</strong> protects the logical integrity of databases using the following:<br />
• Transaction Processing<br />
• Transactions and Locking<br />
• Global Journaling<br />
For more information, see the “Transaction Processing” chapter of Using <strong>Caché</strong> ObjectScript and<br />
the “Managing Transactions” section in Using <strong>Caché</strong> Globals.<br />
<strong>Caché</strong> <strong>System</strong> <strong>Administration</strong> <strong>Guide</strong> 101