How do I guard against data loss caused by vault file corruption?
A CBFS Storage vault file is no different from any other file on your computer, which means that they can be damaged (accidentally or intentionally) or deleted. As with any data, keeping regular backups is the best approach for guarding against complete data loss. However, keep in mind that a vault file should only be backed up while the vault is closed; when a vault is open, CBFS Storage keeps certain information in memory, so the vault file itself may contain inconsistencies at certain moments.
Another approach is on-the-fly mirroring of vault data using Callback Mode. To implement mirroring in callback mode, your CBFS Storage-based application can read and write the vault data from/to the local vault file and an additional location simultaneously (or employ some other kind of mirroring strategy). This can be done synchronously (slower but more reliable) or asynchronously (faster but less reliable).
We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at firstname.lastname@example.org.