Beispiel #1
0
        public void CreateIncrementRestorePoint()
        {
            RestorePoint newRestorePoint = Algorithm.CreateIncrementRestorePoint(Files, RestorePoints.Last());

            RestorePoints.Add(newRestorePoint);
            _currentSize += newRestorePoint.PointSize;
            AdaptToLimits();
        }
Beispiel #2
0
        public void CreateFullRestorePoint()
        {
            RestorePoint newRestorePoint = Algorithm.CreateFullRestorePoint(Files);

            RestorePoints.Add(newRestorePoint);
            _currentSize += newRestorePoint.PointSize;
            AdaptToLimits();
        }
Beispiel #3
0
        public void MakeFullRestorePoint()
        {
            UpdateFiles();
            var newRestorePoint = new FullRestorePoint(BackupFiles);

            RestorePoints.Add(newRestorePoint);
            Size += newRestorePoint.Size;
            UpdateFilesSize();
            PushItToTheLimit();
        }
Beispiel #4
0
 public void AddRestorePoint(IRestorePoint restorePoint)
 {
     RestorePoints.Add(restorePoint);
 }
Beispiel #5
0
 public void CreateRestorePoint(RestorePoint restorePoint) => RestorePoints.Add(restorePoint);