SQLHeavy.Backup Reference Manual
Packages
SQLHeavy
SQLHeavy
Backup
destination_db
destination_db_name
remaining_pages
source_db
source_db_name
total_pages
Backup
Backup.with_db_names
execute
execute_async
step
stepped
Backup
Object Hierarchy:
Description:
public
class
Backup
:
Object
Backup manager
Namespace:
SQLHeavy
Package:
SQLHeavy
Content:
Properties:
public
Database
source_db
{
construct
;
get
; }
The database to backup
public
Database
destination_db
{
construct
;
get
; }
The database to backup to
public
string
?
source_db_name
{
construct
;
get
; }
Name of the database to backup
public
string
?
destination_db_name
{
construct
;
get
; }
Name of the database to backup to
public
int
remaining_pages
{
get
; }
Number of pages left to be backed up
public
int
total_pages
{
get
; }
Total number of pages
Creation methods:
public
Backup.with_db_names
(
Database
source,
string
? source_name,
Database
destination,
string
? destination_name)
throws
Error
Create a backup object, with named source and destination databases
public
Backup
(
Database
source,
Database
destination)
throws
Error
Create a backup object
Methods:
public
bool
step
()
throws
Error
Backup 1 page of data
public
void
execute
()
throws
Error
Complete backup
public
async
void
execute_async
(
Cancellable
? cancellable =
null
)
throws
Error
Complete backup asynchronously
Signals:
public
void
stepped
()
Signal which is emitted each time
step
is called