Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


backup_script_using_xcopy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
backup_script_using_xcopy [2010/02/26 05:26] juckinsbackup_script_using_xcopy [2010/02/26 05:27] (current) juckins
Line 7: Line 7:
  
 Example 2: Example 2:
 +<code>
 REM backup_Users_cjuckins.bat REM backup_Users_cjuckins.bat
 REM 25 Feb 2010 REM 25 Feb 2010
 rmdir /s /q "D:\backup_Users_cjuckins\" rmdir /s /q "D:\backup_Users_cjuckins\"
 mkdir "D:\backup_Users_cjuckins\" mkdir "D:\backup_Users_cjuckins\"
-xcopy "C:\Users\cjuckins\*.*" "D:\backup_Users_cjuckins\" /r /e /h /k /c /y > "d:\backup_Users_cjuckins.log"+xcopy "C:\Users\cjuckins\*.*" "D:\backup_Users_cjuckins\" /r /e /h /k /c /y > "D:\backup_Users_cjuckins.log" 
 +</code>
  
 More information on the web: More information on the web:
  
 [[http://technet.microsoft.com/en-us/library/bb491035.aspx]] [[http://technet.microsoft.com/en-us/library/bb491035.aspx]]
backup_script_using_xcopy.1267180004.txt.gz · Last modified: 2010/02/26 05:26 by juckins