Click or drag to resize

IBackupService Interface

Represents a service that can back-up data to/from another location

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

The IBackupService type exposes the following members.

Properties
 NameDescription
Public propertyServiceName Gets the service name
(Inherited from IServiceImplementation)
Top
Methods
 NameDescription
Public methodBackup Backup media
Public methodBackupToFile Backup the data to a file
Public methodBackupToStream Backup to a stream
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 all registered backup asset 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 methodHasBackup Has backup on the specified media
Public methodRemoveBackup Remove a backup
Public methodRestore Restore from media
Public methodRestoreFromFile Restore a backup from afile
Public methodRestoreFromStream Restore from a stream
Top
Events
 NameDescription
Public eventRestartRequested Fired when the backup service requires a restart
(Inherited from IRequestRestarts)
Top
See Also