Summary
Backs up a database file of an open ObjectContainer.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o - Containing Type
- I
Embedded Object Container
Syntax
void Backup(string path)
Remarks
Backs up a database file of an open ObjectContainer.
While the backup is running, the ObjectContainer can continue to be used. Changes that are made while the backup is in progress will be applied to the object container and to the backup.
While the backup is running, the object container should not be closed.
If a file already exists at the specified path, it will be overwritten.
The
While the backup is running, the ObjectContainer can continue to be used. Changes that are made while the backup is in progress will be applied to the object container and to the backup.
While the backup is running, the object container should not be closed.
If a file already exists at the specified path, it will be overwritten.
The
Db4objects.Db4o.IO.IStorage
used for backup is the one configured for this container. If you
want to use another storage implementation for the backup please
use
Db4objects.Db4o.IObjectContainer.Ext
.
Db4objects.Db4o.Ext.IExtObjectContainer.Backup(Db4objects.Db4o.IO.IStorage,System.String)
.
Parameters
Name | Type | Description |
---|---|---|
path | string | a the path to the backup file |
Return Value
Type | Description |
---|---|
void |