Class BackupManager
The main backup manager class.
class BackupManager
;
Methods
Name | Description |
---|---|
create
(Name, Path)
|
Creates a new backup from whatever is on the supplied path. |
createRaw
(Name)
|
Creates a raw backup and returns an object to write to the backup. |
deleteBackup
(Name, Prune)
|
Removes a backup file and based on the Prune argument, performs a pruning proccess to delete unused blocks. |
deleteBackup
(Name)
|
Removes a backup and performs a pruning proccess. |
exists
(Name)
|
Checks if the supplied backup name exists. |
extract
(Name, Output)
|
Extracts the supplied backup name to the supplied output path. |
get
(Name)
|
Returns the FSReader object from an existing backup. |
getInfo
()
|
Returns information about the manager's storage file. |
isRaw
(Name)
|
Checks if the supplied backup name is a raw backup. |
list
()
|
Returns a list of the current existing backups on the repository. |
listFiles
(Name)
|
Returns an entry list of the supplied backup name. |
openRaw
(Name)
|
Opens for reading the supplied raw backup name. |
prune
()
|
Checks the entire backup repository and removes unused blocks. |
restore
(Name)
|
Restores the supplied backup to it's original path. |
storageHealthCheck
()
|
Calls the health check method of the block storage and returns it's results. |