/// <summary> /// Asynchronous backup method for GUI purposes. /// </summary> public static void BackupIndex() { EnsureEmptyDirctory(_backupDirectoryPath); var activity = new SenseNet.Search.Indexing.Activities.BackupActivity(Environment.MachineName, AppDomain.CurrentDomain.FriendlyName); activity.Distribute(); activity.InternalExecute(); }
/// <summary> /// Asynchronous backup method for GUI purposes. /// </summary> public static void BackupIndex() { EnsureEmptyDirctory(_backupDirectoryPath); var activity = new SenseNet.Search.Indexing.Activities.BackupActivity(Environment.MachineName, AppDomain.CurrentDomain.FriendlyName); activity.Distribute(); activity.InternalExecute(); }