Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NasBackupParams" /> class.
 /// </summary>
 /// <param name="continueOnError">Whether the backup job should continue on errors for snapshot based backups. For non-snapshot-based generic NAS backup jobs, Magneto always continues on errors..</param>
 /// <param name="filteringPolicy">filteringPolicy.</param>
 /// <param name="mixedModePreference">If the target entity is a mixed mode volume, which NAS protocol type the user prefer to backup. This does not apply to generic NAS and will be ignored..</param>
 /// <param name="snapshotChangeEnabled">Whether this backup job should utilize changelist like API when available for faster incremental backups..</param>
 public NasBackupParams(bool?continueOnError = default(bool?), FilteringPolicyProto filteringPolicy = default(FilteringPolicyProto), int?mixedModePreference = default(int?), bool?snapshotChangeEnabled = default(bool?))
 {
     this.ContinueOnError       = continueOnError;
     this.MixedModePreference   = mixedModePreference;
     this.SnapshotChangeEnabled = snapshotChangeEnabled;
     this.ContinueOnError       = continueOnError;
     this.FilteringPolicy       = filteringPolicy;
     this.MixedModePreference   = mixedModePreference;
     this.SnapshotChangeEnabled = snapshotChangeEnabled;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OutlookBackupEnvParams" /> class.
 /// </summary>
 /// <param name="filteringPolicy">filteringPolicy.</param>
 /// <param name="shouldBackupMailbox">Specifies whether the mailbox for all the Office365 Users present in the protection job should be backed up..</param>
 public OutlookBackupEnvParams(FilteringPolicyProto filteringPolicy = default(FilteringPolicyProto), bool?shouldBackupMailbox = default(bool?))
 {
     this.ShouldBackupMailbox = shouldBackupMailbox;
     this.FilteringPolicy     = filteringPolicy;
     this.ShouldBackupMailbox = shouldBackupMailbox;
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileStubbingParams" /> class.
 /// </summary>
 /// <param name="coldFileWindow">Identifies the cold files in the NAS source. Files that haven&#39;t been accessed/modified in the last cold_file_window msecs or are older than cold_window_msecs are migrated..</param>
 /// <param name="fileSelectPolicy">File migrate policy based on file access/modify time and age..</param>
 /// <param name="fileSize">Gives the size criteria to be used for selecting the files to be migrated. The cold files that are equal and greater than file_size or smaller than file_size are migrated..</param>
 /// <param name="fileSizePolicy">File size policy for selecting files to migrate..</param>
 /// <param name="filteringPolicy">filteringPolicy.</param>
 /// <param name="targetViewName">The target view name to which the data will be migrated..</param>
 public FileStubbingParams(long?coldFileWindow = default(long?), int?fileSelectPolicy = default(int?), long?fileSize = default(long?), int?fileSizePolicy = default(int?), FilteringPolicyProto filteringPolicy = default(FilteringPolicyProto), string targetViewName = default(string))
 {
     this.ColdFileWindow   = coldFileWindow;
     this.FileSelectPolicy = fileSelectPolicy;
     this.FileSize         = fileSize;
     this.FileSizePolicy   = fileSizePolicy;
     this.TargetViewName   = targetViewName;
     this.ColdFileWindow   = coldFileWindow;
     this.FileSelectPolicy = fileSelectPolicy;
     this.FileSize         = fileSize;
     this.FileSizePolicy   = fileSizePolicy;
     this.FilteringPolicy  = filteringPolicy;
     this.TargetViewName   = targetViewName;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="O365BackupEnvParams" /> class.
 /// </summary>
 /// <param name="filteringPolicy">filteringPolicy.</param>
 /// <param name="onedriveBackupParams">onedriveBackupParams.</param>
 /// <param name="outlookBackupParams">outlookBackupParams.</param>
 public O365BackupEnvParams(FilteringPolicyProto filteringPolicy = default(FilteringPolicyProto), OneDriveBackupEnvParams onedriveBackupParams = default(OneDriveBackupEnvParams), OutlookBackupEnvParams outlookBackupParams = default(OutlookBackupEnvParams))
 {
     this.FilteringPolicy      = filteringPolicy;
     this.OnedriveBackupParams = onedriveBackupParams;
     this.OutlookBackupParams  = outlookBackupParams;
 }
Beispiel #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OneDriveBackupEnvParams" /> class.
 /// </summary>
 /// <param name="filteringPolicy">filteringPolicy.</param>
 /// <param name="shouldBackupOnedrive">Specifies whether the OneDrive(s) for all the Office365 Users present in the protection job should be backed up..</param>
 public OneDriveBackupEnvParams(FilteringPolicyProto filteringPolicy = default(FilteringPolicyProto), bool?shouldBackupOnedrive = default(bool?))
 {
     this.ShouldBackupOnedrive = shouldBackupOnedrive;
     this.FilteringPolicy      = filteringPolicy;
     this.ShouldBackupOnedrive = shouldBackupOnedrive;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="OutlookBackupEnvParams" /> class.
 /// </summary>
 /// <param name="filteringPolicy">filteringPolicy.</param>
 public OutlookBackupEnvParams(FilteringPolicyProto filteringPolicy = default(FilteringPolicyProto))
 {
     this.FilteringPolicy = filteringPolicy;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PhysicalBackupEnvParams" /> class.
 /// </summary>
 /// <param name="enableIncrementalBackupAfterRestart">If this is set to true, then incremental backup will be performed after the server restarts, otherwise a full-backup will be done. NOTE: This is applicable to windows host environments..</param>
 /// <param name="filteringPolicy">filteringPolicy.</param>
 public PhysicalBackupEnvParams(bool?enableIncrementalBackupAfterRestart = default(bool?), FilteringPolicyProto filteringPolicy = default(FilteringPolicyProto))
 {
     this.EnableIncrementalBackupAfterRestart = enableIncrementalBackupAfterRestart;
     this.EnableIncrementalBackupAfterRestart = enableIncrementalBackupAfterRestart;
     this.FilteringPolicy = filteringPolicy;
 }