Exemple #1
0
        public override void Execute()
        {
            var version    = GetLastBackupVersion() + 1;
            var backupPath = string.Format(BackupFomat, TargetFile.FullName, version);

            TargetFile.CopyTo(backupPath);

            Log(string.Format("Backed up for: {0} (version {1})", Operator, version));
        }