@acceleratxr/core_sdk / Snapshot
Class: Snapshot#
Defines a single backup snapshot of a database that has been taken.
REQUIRES: Backup Services
author Jean-Philippe Steinmetz info@acceleratxr.com
Hierarchy#
-
↳ Snapshot
Index#
Constructors#
Properties#
Accessors#
Constructors#
constructor#
+ new Snapshot(other?: any): Snapshot
Overrides EntityBase.constructor
Defined in src/models/Snapshot.ts:57
Parameters:#
Name |
Type |
|---|---|
|
any |
Returns: Snapshot
Properties#
backupUid#
• backupUid: string = “”
Defined in src/models/Snapshot.ts:27
The unique id of the backup job that created this snapshot.
dateCreated#
• dateCreated: Date = new Date()
Inherited from EntityBase.dateCreated
Defined in src/EntityBase.ts:18
The date and time that the object was created.
dateModified#
• dateModified: Date = new Date()
Inherited from EntityBase.dateModified
Defined in src/EntityBase.ts:23
The date and time that the object was last modified.
filename#
• filename: string = “”
Defined in src/models/Snapshot.ts:42
The filename of the snapshot file as stored.
name#
• name: string = “”
Defined in src/models/Snapshot.ts:32
The unique name of the snapshot.
sha512#
• sha512: string = “”
Defined in src/models/Snapshot.ts:47
The SHA512 check sum of the snapshot contents.
size#
• size: number = 0
Defined in src/models/Snapshot.ts:52
The total file size of the snapshot.
type#
• type: DatabaseType = DatabaseType.MONGODB
Defined in src/models/Snapshot.ts:57
The type of database.
uid#
• uid: string = uuid.v4()
Inherited from EntityBase.uid
Defined in src/EntityBase.ts:13
The universally unique identifier of the object.
version#
• version: number = 0
Inherited from EntityBase.version
Defined in src/EntityBase.ts:28
The optimistic locking version of the object.
Accessors#
ClassName#
• Staticget ClassName(): string
Defined in src/models/Snapshot.ts:22
Returns: string
comments#
• comments: string = “”
Defined in src/models/Snapshot.ts:37
Descriptive comments and notes associated with this snapshot.