标签:blog http java os io 文件 for 2014
1. Software Requirement:
1.1.mirror.bat 、mirror_SERVICE_BEGIN、mirror_SERVICE_END、robocopy.exe
1.2. Copy robocopy.exe to C:\WINDOWS\system32
2. System Region Option:
setting "Date"--Short Date Format: yyyy-MM--dd
3.MAP Network Driver: net use z: \\192.168.13.105\Java Ab123456(Password) /user:administrator
4.Create Windows Script:autobackup.bat
@ echo off
cd \
e:
cd "E:\Monthly Full Backup"
mkdir "%date%"
robocopy z:\Java\ "%date%" /E /V /NP /R:2
@ echo off
pause
***************successful******************
5.Create Windows Schedule
6.Check Backup Task
7. Robocopy
通过Robocopy+DOS 命令+Windows排程实现自动备份(将特定文件/目录备份至自动创建的以年月日命名的目标目录),布布扣,bubuko.com
通过Robocopy+DOS 命令+Windows排程实现自动备份(将特定文件/目录备份至自动创建的以年月日命名的目标目录)
标签:blog http java os io 文件 for 2014
原文地址:http://www.cnblogs.com/andly96/p/Robocopy.html