Hi,
wollte mal in die Runde fragen, ob hier jemand schon Erfahrung damit hat und mir vielleicht Antworten geben kann. Das Backup hat nur die Anforderung, dass es konsistent sein muss, also kein Up-To-Minute Restore oder sonstiges wozu noch das Translog benötigt wird.
Der Snapcreator von NetApp verwendet dazu die Domino Backup API. Meine Frage dazu ist, ob ich für ein Konsistentes Backup wirklich auch die ChangeInfo benötige bzw. auf das Backup anwenden muss. Der Hintergrund ist der, dass das Recovery so einfach als Möglich sein sollte, also einfach das zurückkopieren der NSF Datei.
In der Snapcreator Doku bzw. im Forum steht, dass die ChangeInfo immer benötigt wird. Auch in der Domino Hilfe steht sowas in der Art:
http://www-12.lotus.com/ldd/doc/domino_notes/9.0/api90ug.nsf/85255d56004d2bfd85255b1800631684/c89a7fa2f03a7f908525668200650271?OpenDocument (http://www-12.lotus.com/ldd/doc/domino_notes/9.0/api90ug.nsf/85255d56004d2bfd85255b1800631684/c89a7fa2f03a7f908525668200650271?OpenDocument)
When the raw file copy has completed, NSFBackupStop is called to stop recording change information for the database. NSFBackupGetChangeInfoSize may then be called to get the total size in bytes of the change information. If the backup file is to ever be recovered, this change information will need to be applied to it. NSFBackupGetNextChangeInfo should be called to get the change information. It may take several calls to get all of the change information. The order that this data is returned is the order that it needs to be presented in, when it is applied to the backup file. When all of the change information has been retrieved, NSFBackupEnd is called to end the backup of the database.
NSFBackupStartApplyChangeInfo is called to initiate application of the change information to the backup file. The change information is then passed in by one or more calls to NSFBackupApplyNextChangeInfo. The data passed in for application must be in the same order as it was returned from NSFBackupGetNextChangeInfo. Once all of the change information has been passed in, NSFBackupEndApplyChangeInfo is called to clean up any allocated resources.
Important Note: The resulting backup file will be a duplicate of the database that it was derived from, with the addition of certain recovery enabling criteria. If this backup file is opened by Domino or Notes software prior to its recovery, the recovery criteria is removed and the file is no longer a recoverable backup. Care should be taken to ensure the maintenance of recoverable database backup files.
MfG
Georg