Api.JetBackupInstance method
Performs a streaming backup of an instance, including all the attached databases, to a directory. With multiple backup methods supported by the engine, this is the simplest and most encapsulated function.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetBackupInstance ( _
instance As JET_INSTANCE, _
destination As String, _
grbit As BackupGrbit, _
statusCallback As JET_PFNSTATUS _
)
'Usage
Dim instance As JET_INSTANCE
Dim destination As String
Dim grbit As BackupGrbit
Dim statusCallback As JET_PFNSTATUSApi.JetBackupInstance(instance, _
destination, grbit, statusCallback)
public static void JetBackupInstance(
JET_INSTANCE instance,
string destination,
BackupGrbit grbit,
JET_PFNSTATUS statusCallback
)
Parameters
instance
Type: Microsoft.Isam.Esent.Interop.JET_INSTANCEThe instance to backup.
destination
Type: System.StringThe directory where the backup is to be stored. If the backup path is null to use the function will truncate the logs, if possible.
grbit
Type: Microsoft.Isam.Esent.Interop.BackupGrbitBackup options.
statusCallback
Type: Microsoft.Isam.Esent.Interop.JET_PFNSTATUSOptional status notification callback.
See also
Reference
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for