csharp
Directory.CreateDirectory(backupFolderPath);
csharp
using (var session = new VelocityDBSession(databaseFolderPath))
{
session.Backup(backupFolderPath);
}
csharp
using (var session = new VelocityDBSession(databaseFolderPath))
{
}
csharp
using (var session = new VelocityDBSession(databaseFolderPath))
{
session.Restore(backupFolderPath);
}