I wrote code that creates full backups of my ESENT database using the JetBeginExternalBackup API.
Following MSDN recommendations, I backed up every file returned by JetGetAttachInfo and JetGetLogInfo.
I made a backup, deleted the old database, and copied the backup data to the database folder. The database engine could not start, the JetInit error code is "JET_errMissingLogFile".
I checked the backup, it contains only the database file and the log files "<inst> XXXXX.log". It does not have the current log file (I use circular logging, BTW).
Is there any way to restore such a backup?
I donβt want to use the JetExternalRestore API because it is too complicated: I donβt need to restore it to another place, I donβt understand why there are 3 input folders, not 2, and I donβt know the delivery values ββin the genLow and genHigh arguments.
I need external backups: the ESENT database is used by ASP.NET on a remote server, and I support it over the Internet.
Or maybe there is a way to get the name of the current log file, and I should just add it to the backup?
Thanks in advance!
PS I do not have permission to deploy processes on my web server, so using eseutil.exe is not an option.
source
share