Example #1
0
        public override void Backup()
        {
            string destDir = Path.Combine(this.args.BackupFolder, this.args.AppName);

            destDir = Path.Combine(destDir, DateTime.Now.ToString("Backup_yyyyMMdd_HHmmss"));
            this.args.RestorePath = destDir;
            CopyHelper.DirectoryCopyWithRef(this.args.AppFolder, destDir, this.args.DeployFolder, true);
        }