Intro:
A backup directory ConsoleProgram. NET 2.0 Framework
Backup Tool V1.0 by icebird @ cnblogs
Syntax: Backup srcdir backupdir [excludedir...]
Explain:
Srcdir is the source directory to be backed up
Backupdir is the backup directory.
Srcdir and backupdir must exist before backup and must be absolute paths (UNC paths supported)
Multiple excludedir directories can be followed to specify the subdirectories to be excluded during Backup (as long as the directory contains excludedir, the directory will not be backed up)
The system will automatically exclude all hidden directories and files, as well as system volume information, recycler, $ recycle. Bin
Automatic Incremental backup is used to achieve the highest backup efficiency. It is especially suitable for scenarios where regular backup is required.
All write operations on files or directories are restricted to the backup directory.
TIPS:
Specifying the exclusion directory can exclude subdirectories that do not need to be backed up in the source directory to improve backup efficiency.
Setting a directory as a hidden attribute can ignore this directory during Backup.
Setting a file as a hidden property can ignore this file during Backup.
Edit the batch file (it is best to add a pause command after the BACKUP command), and you can click the batch file backup at any time.
Example:
Backup D: \ work \ Server \ mywork back up D: \ work to \ Server \ mywork
Backup D: \ share E: \ share \ temp \ private \ back up D: \ share to E: \ share, during backup, all directories containing \ Temp or \ private subdirectories are automatically excluded.
Download (bin with source ):
Http://files.cnblogs.com/Icebird/Backup.rar