Create Backup file automatically with Winrar
1.Install winrar;
2.New txt file, input following
d:\progra~1\winrar\winrar.exe a -ag -k -r -s -ibck E:\DataBak\bak.rar E:\Data\
3.Save the file as :bak.bat
4.Use Scheduled Task function to run the bat file regurally
/*---------------Parameter-------------------*/
d:\progra~1\winrar\winrar.exe:winrar path,progra~1=program files;
a :back all files
-ag :add date information follwoing "YYYYMMDDHHMMSS" format . the backup file name should be bakYYYYMMDDHHMMSS.rar;
-k :lock need backuping files
-r:backup category and subcategory
-s :create files
-ibck :run in background
E:\Databak\bak.rar :Backuped file path
E:\Data\ :Backuping files path.
Note: E:\Data\ is not same with E:\Data. if date folder has subfolde and you want to backup with subfolder included, please use E:\Data
2.New txt file, input following
d:\progra~1\winrar\winrar.exe a -ag -k -r -s -ibck E:\DataBak\bak.rar E:\Data\
3.Save the file as :bak.bat
4.Use Scheduled Task function to run the bat file regurally
/*---------------Parameter-------------------*/
d:\progra~1\winrar\winrar.exe:winrar path,progra~1=program files;
a :back all files
-ag :add date information follwoing "YYYYMMDDHHMMSS" format . the backup file name should be bakYYYYMMDDHHMMSS.rar;
-k :lock need backuping files
-r:backup category and subcategory
-s :create files
-ibck :run in background
E:\Databak\bak.rar :Backuped file path
E:\Data\ :Backuping files path.
Note: E:\Data\ is not same with E:\Data. if date folder has subfolde and you want to backup with subfolder included, please use E:\Data
浙公网安备 33010602011771号