BackupInfo defines the eXtremeDB Incremental Backup settings.
public static class BackupInfo { public int protocolVersion; public BackupType type; public int flags; public int backupNo; public long timestamp; public long size; public long offset; public int crc; public long transNo; public int memPageSize; public int diskPageSize; public long nPagesTotal; public String dbName; public String label; public BackupInfo(int protocolVersion, BackupType type, int flags, int backupNo, long timestamp, long size, long offset, int crc, long transNo, int memPageSize, int diskPageSize, long nPagesTotal, String dbName, String label) { this.protocolVersion = protocolVersion; this.type = type; this.flags = flags; this.backupNo = backupNo; this.timestamp = timestamp; this.size = size; this.offset = offset; this.crc = crc; this.transNo = transNo; this.memPageSize = memPageSize; this.diskPageSize = diskPageSize; this.nPagesTotal = nPagesTotal; this.dbName = dbName; this.label = label; } };
protocolVersion
|
|||||||
type
|
The type of backup record; one of the following: public enum BackupType { Auto, Snapshot, Incremental }; where
|
||||||
flags
|
The backup flags; a combination of the following: public static final int BACKUP_FLAG_COMPRESSED = 1; public static final int BACKUP_FLAG_ENCRYPTED = 2; where the
|
||||||
backupNo
|
A sequential number | ||||||
timestamp
|
The backup timestamp | ||||||
size
|
The size of the backup segment including the header (mco_backup_info_t ) |
||||||
offset
|
The offset in the file | ||||||
crc
|
The backup record checksum | ||||||
transNo
|
The last transaction number | ||||||
memPageSize
|
The size of the memory page for the database | ||||||
diskPageSize
|
The size of the persistent storage page for the database | ||||||
nPagesTotal
|
The total number of memory pages | ||||||
dbName
|
The name of the database | ||||||
label
|
The backup record label |