Performs a full backup on the specified Geodatabase.
[Visual Basic .NET] Public Function BackupGeodatabase ( _ ByVal gdbName As String, _ ByVal backupFileName As String, _ ByVal backupName As String, _ ByVal description As String _ ) As Boolean
[C#] public bool BackupGeodatabase ( string gdbName, string backupFileName, string backupName, string description );
[C++]
HRESULT BackupGeodatabase(
BSTR gdbName,
BSTR backupFileName,
BSTR backupName,
BSTR description,
VARIANT_BOOL* IsSimpleRecoveryModel
);
[C++]Parameters
gdbName [in] gdbName is a parameter of type BSTR backupFileName [in] backupFileName is a parameter of type BSTR backupName [in] backupName is a parameter of type BSTR description [in] description is a parameter of type BSTR IsSimpleRecoveryModel [out, retval] IsSimpleRecoveryModel is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
This method backs up a Geodatabase.
Remarks
You must specify the Geodatabase to be backed up, the name
of the backup file to be created and a name identifying the backup
itself. The description parameter is optional and may be set to
0.
If the Geodatabase has been set to something other than
simple recovery model, then this method will fail and the
IsSimpleRecoveryModel parameter will be set to TRUE.
You must be a server administrator or have geodatabase
admin permissions (esriPermAdmin) to perform this
operation.