How to use windows to do regular backup procedures

  
                

The data files of some programs under WINDOWS (refer to WINDOWS9.X, WINDOWS 2000, WINDOWS NT, etc.) need to be backed up frequently, but the operation or application does not provide a convenient backup program. However, Windows 7 can change this cumbersome step, Xiaobian online check the next rookie level windows to do the regular backup program was born, do not need to manually backup each time.

Note: I need to back up from time to time The db file is in the D:\\work disk, and the backup backups are bake1 and bake2 of the E disk respectively. Because the backup error is prevented, the secondary backup is used! Both bake1 backup work and bake2 backup bake1.

One. Backup

1.work1 backup db file inside work. Write 1.bat (path: E:\\bat\\1.bat)

The contents of the bat file are:

@echo

copy D:\\work\\*.db E:\\bake1

exit

2.bake2 backs up bake1. Write 2.bat (path: E:\\bat\\2.bat)

The contents of the bat file are:

@echo

copy E:\\bake1\\*.db E:\\bake2

exit

3. Complete the secondary backup and write the backup.bat

The contents of the bat file are:

@echo

start E:\\bat\\1.bat

start E:\\bat\\2.bat

exit

But this is actually not working, here We can use the copy of the mandatory override command, or you can delete it in advance! Source: Exam

The pre-delete method can be used very well

1.bat

@echo

del E:\\bake1

copy D:\\work\\*.db E:\\bake1

exit

2.bat

@echo

del E:\\bake2

copy E:\\bake1\\*.db E:\\bake2

exit

Run backup .bat

This is a double backup that has not been echoed!

II. Automatically running backups

1. Open the scheduled task tool (task plan) that comes with Windows!

2. Double-click to add the task plan and run the task plan wizard

3 Browse to find the backup.bat

4. Enter the task name and choose to execute

daily. 5. Select the start time and date.

6. Enter User Account Password

7. Select Open Advanced Properties when you click Finish.

8. Double-click the created task and click Schedule - Advanced.

9. Select the repeated options for the repeat task settings.

10.Complete

This will allow you to run once every few hours, making it easy to implement a second backup!

Copyright © Windows knowledge All Rights Reserved