Backup & Restore
Backup functionality allows users to make a database backup
without the need to shutdown server.
Backup and restore also allows users to transfer data across
different versions of the database server.
Backup
and restore doesn’t port user types between their different versions. It could
only port data across different versions of Eloquera
DB.
User types remain unchanged.
Backup example:
db = new DB("server=localhost:43963;password=pwd;options=none;");
db.Backup("Backup");
And restore:
db = new DB("server=localhost:43963;password=pwd;options=none;");
//create a new database
db.CreateDatabase("Restored");
//open it
db.OpenDatabase("Restored");
//restore from backup
file
db.Restore("Backup");