Click or drag to resize

DefaultBackupManager Class

The default backup manager
Inheritance Hierarchy
SystemObject
  SanteDB.Core.Data.BackupDefaultBackupManager

Namespace: SanteDB.Core.Data.Backup
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public class DefaultBackupManager : IBackupService, 
	IServiceImplementation, IRequestRestarts, IReportProgressChanged

The DefaultBackupManager type exposes the following members.

Constructors
 NameDescription
Public methodDefaultBackupManager Default backup manager DI constructor
Top
Properties
 NameDescription
Protected propertyAllowPublicBackups Allow public backups
Protected propertyConfiguration Configuration
Public propertyServiceName Gets the service name
Top
Methods
 NameDescription
Public methodBackup Backup media
Public methodBackupToFile Backup the system to a specified file
Public methodBackupToStream Backup to the stream
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetBackup(BackupMedia, String) Get the descriptor for a specific backup
Public methodGetBackup(String, BackupMedia) Get the backup with the specified backupDescriptorLabel from any backup source
Public methodGetBackupAssetClasses Get backup classes
Public methodGetBackupDescriptorFromFile Get a backup descriptor from an absolute file
Public methodGetBackupDescriptorFromStream Get a descriptor from a stream
Public methodGetBackupDescriptors Gets the backup descriptors for the specified media
Public methodGetBackupInternal Get backup file descriptor
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasBackup Has backup on the specified media
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemoveBackup Remove a backup
Public methodRestore Restore from media
Public methodRestoreFromFile Restore a backup from afile
Public methodRestoreFromStream Restore from a stream source
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventProgressChanged Progress has changed
Public eventRestartRequested Fired when the backup service requires a restart
Top
Fields
 NameDescription
Public fieldStatic memberBACKUP_EXTENSION 
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also