Use ntbackup and Windows Task Plan for automatic backup

Source: Internet
Author: User
My company's design department has more than 10 computers, all of which use autocad2004 to design drawings. Therefore, the safety of drawing materials is very important. After a period of study and exploration, I found that the ntbackup and "Task Plan" provided by windows can be used to automatically back up drawings and materials. Now I will share with you the implementation methods, I hope the old birds will help you to see if there are any better methods and room for improvement!

 

Step 2

Step 3:

Step 4:

Step 5:

Step 6:

Step 7: Click OK after setting according to the instructions in the figure. If the time set in "Task Plan" is the future time, ntbackup will not be backed up immediately, but will be backed up according to the time specified in "Task Plan.

Step 8: In fact, in the previous step, full backup has been completed. This step mainly introduces a very practical function in ntbackup, which is actually an option, "exclude file" option. I use it to exclude some CAD files that generate some backup files, such :*. bak, also some. vbs or *. the inf file is also excluded. the vbs virus has caused me a headache some time ago and must be rejected.

Step 9:

Step 10:

Step 2:

 

Step 2: Next I will explain why there is "Incremental Backup", because I have "normal backup" (that is, full backup) on it) A full backup is performed every four weeks on Sunday. Therefore, new design drawings will be generated every day from now until four weeks, in addition, the design data in the last full backup may have been changed during this cycle. Therefore, an "Incremental Backup" is created: 1. Because the files after full backup are large, Incremental Backup only backs up the newly generated files after the last full backup, it also backs up the modified files after the last full backup, so the files after the backup are not too large. 2. Before the next full backup arrives, I will. BKF) Transfer and save, the next full backup (C. after BKF is completed, I will perform an incremental backup file (B. BKF) Transfer to the previous full backup file (. BKF) Save the location, so that. BKF and B. BKF is the backup data for the entire cycle. If the cycle is too short and troublesome, you can set a longer cycle for this backup. For Windows
How does one know which files are newly generated and which are modified after the last backup? This issue will be described later.

Step 2:

Step 2:

Step 2: Press "OK" in the previous step, return to the previous window, and then click "Schedule.

Step 2:

 

Step 2:

 

Step 2: After you confirm the previous step, all work has been completed.

 

Step 2:

In step 2, how does Windows know which files are newly generated and which files are modified after the last backup. In fact, there is a very important but rarely used attribute in the file attributes of windows, that is, the archive attribute, that is, the attribute. When a new file is created, the attribute is automatically added to the file. Once the file is backed up, the attribute is removed, if the file with the attribute removed after the backup is modified, the attribute will be added after the file is modified. Therefore, Windows Incremental Backup uses the attribute of a file to determine whether a file is created or modified, and determines whether to back up the file. We may use two methods to check whether a file has the attribute:

1. The attrib.exe command is used in the command prompt to check whether the attribute of the 11.txt file is available, for example, attrib 11.txt.

2. Right-click the 11.txt file, select "properties", and click "advanced". Check whether the check box before "archive files" is checked. If yes, the file has a property, if not checked, the file does not have the attribute.

 


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.