Copy codeThe Code is as follows: @ echo off
Echo began to back up important data on this site!
Xcopy "D: \ web \ YUNSAFE. COM \ WWWROOT \ *. *" D: \ web \ YUNSAFE. COM \ BAK \ BakUp % date :~ 0, 10% \ WWWROOT \ "/I/q
Xcopy "D: \ web \ YUNSAFE. COM \ WWWROOT \ api" "D: \ web \ YUNSAFE. COM \ BAK \ BakUp % date :~ 0, 10% \ WWWROOT \ api \ "/e/I/q
Xcopy "D: \ web \ YUNSAFE. COM \ WWWROOT \ archiver" "D: \ web \ YUNSAFE. COM \ BAK \ BakUp % date :~ 0, 10% \ WWWROOT \ archiver \ "/e/I/q
Xcopy "D: \ web \ YUNSAFE. COM \ WWWROOT \ config" "D: \ web \ YUNSAFE. COM \ BAK \ BakUp % date :~ 0, 10% \ WWWROOT \ config \ "/e/I/q
Xcopy "D: \ web \ YUNSAFE. COM \ WWWROOT \ data" "D: \ web \ YUNSAFE. COM \ BAK \ BakUp % date :~ 0, 10% \ WWWROOT \ data \ "/e/I/q
Xcopy "D: \ web \ YUNSAFE. COM \ WWWROOT \ install" "D: \ web \ YUNSAFE. COM \ BAK \ BakUp % date :~ 0, 10% \ WWWROOT \ install \ "/e/I/q
Xcopy "D: \ web \ YUNSAFE. COM \ WWWROOT \ Rewrite" "D: \ web \ YUNSAFE. COM \ BAK \ BakUp % date :~ 0, 10% \ WWWROOT \ Rewrite \ "/e/I/q
Xcopy "D: \ web \ YUNSAFE. COM \ WWWROOT \ source" "D: \ web \ YUNSAFE. COM \ BAK \ BakUp % date :~ 0, 10% \ WWWROOT \ source \ "/e/I/q
Xcopy "D: \ web \ YUNSAFE. COM \ WWWROOT \ static" "D: \ web \ YUNSAFE. COM \ BAK \ BakUp % date :~ 0, 10% \ WWWROOT \ static \ "/e/I/q
Xcopy "D: \ web \ YUNSAFE. COM \ WWWROOT \ template" "D: \ web \ YUNSAFE. COM \ BAK \ BakUp % date :~ 0, 10% \ WWWROOT \ template \ "/e/I/q
Xcopy "D: \ web \ YUNSAFE. COM \ WWWROOT \ uc_client" "D: \ web \ YUNSAFE. COM \ BAK \ BakUp % date :~ 0, 10% \ WWWROOT \ uc_client \ "/e/I/q
Xcopy "D: \ web \ YUNSAFE. COM \ WWWROOT \ uc_server" "D: \ web \ YUNSAFE. COM \ BAK \ BakUp % date :~ 0, 10% \ WWWROOT \ uc_server \ "/e/I/q
Echo important data backup on this site is complete!
Echo starts backing up the MYSQL database on this site!
Xcopy "D: \ Program Files \ MySQL Server 5.1 \ Data \ yafan" "D: \ web \ YUNSAFE. COM \ BAK \ BakUp % date :~ 0, 10% \ MYSQLData \ YAFAN \ "/e/I/q
Echo Database Backup completed!
Echo starts packaging all the data!
Cd D: \ web \ YUNSAFE. COM \ BAK
"C: \ Program Files \ WinRAR \ Rar.exe" a-k-r-s-m1-inul "D: \ web \ YUNSAFE. COM \ BAK \ BakUp % date :~ 0, 102.16.rar "BakUp % date :~ 0, 10%
Echo packed all data!
Exit