C# Class SenseNet.Search.Indexing.BackupTools

Mostrar archivo Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Property Type Description
BackupIndexImmediatelly void
BackupTools System
CompressTheIndex void
CopyDirectoryContent void
CopyIndexToBackupDirectory void
DecompressTheIndex void
DeleteDirectoryContent void
DeleteUnnecessaryBackups void
EnsureEmptyDirctory void
LoadBackupIdFromFile System.Guid
MoveDirectoryContent void
NeedRestore bool
OptimizeBeforeBackup void
OptimizeCompressAndStore void
Progress_Changed void
RecoverIndexBackupFromDb void
RestoreIndex void
SaveBackupIdToFile void
StoreIndexBackupToDb System.Guid

Public Methods

Method Description
BackupIndex ( ) : void

Asynchronous backup method for GUI purposes.

SynchronousBackupIndex ( ) : void

Synchronous backup method for console applications.

Private Methods

Method Description
BackupIndexImmediatelly ( ) : void
BackupTools ( ) : System
CompressTheIndex ( string zipFilePath, string backupDirectoryPath ) : void
CopyDirectoryContent ( string sourcePath, string targetPath, List excludedFileNames ) : void
CopyIndexToBackupDirectory ( ) : void
DecompressTheIndex ( string zipFilePath, string targetDirPath ) : void
DeleteDirectoryContent ( string path ) : void
DeleteUnnecessaryBackups ( ) : void
EnsureEmptyDirctory ( string path ) : void
LoadBackupIdFromFile ( string restoreInfoPath ) : System.Guid
MoveDirectoryContent ( string sourcePath, string targetPath ) : void
NeedRestore ( System.Guid &lastIdFromDb ) : bool
OptimizeBeforeBackup ( string indexDirectoryPath ) : void
OptimizeCompressAndStore ( ) : void
Progress_Changed ( object sender, EventArgs e ) : void
RecoverIndexBackupFromDb ( string recoveredFilePath ) : void
RestoreIndex ( bool force, System consoleOut ) : void
SaveBackupIdToFile ( System.Guid backupId, string restoreInfoPath ) : void
StoreIndexBackupToDb ( string backupFilePath ) : System.Guid

Method Details

BackupIndex() public static method

Asynchronous backup method for GUI purposes.
public static BackupIndex ( ) : void
return void

SynchronousBackupIndex() public static method

Synchronous backup method for console applications.
public static SynchronousBackupIndex ( ) : void
return void