Robocopy
I want to setup a robocopy batch to use with task scheduler to copy the documents folder from win 7 pro machines to a 2k adv server box. 2k server is not running AD and there is no domain. This is a home network with a file server. Need to be able to have
the users login and or at a scheduled time silently backup their files to the server.
This is my robocopy batch file, robocopy "C:\Users\Chuck\Documents" "\\server\chuck\My Documents" /E /R:3 /W:3 /V /log+:"\\server\chuck\drive_backup.log
The batch runs, starts to copy, then stops and says source not available, even though others shares on server are up and accessible, the share where the files copy to return an access denied error when I try to open the folder. Any thoughts? Thanks in advance.
June 11th, 2010 7:19am
Sounds like a basic permissions issue. Two things to check:
check the NTFS and share permissions on the backup folder share and make sure that you can connect via Windows Explorer
have you configured this batch file to run via the Windows 7 Task Scheduler? If so, make sure that in the Properties of the task, on the General tab under Security Options, that the account which runs the task has all the required permissions on both the
local machine AND the remote server
Free Windows Admin Tool Kit Click here and download it now
June 11th, 2010 7:26am
robocopy "C:\Users\Chuck\Documents" "\\server\chuck\My Documents" /E /R:3 /W:3 /V /log+:"\\server\chuck\drive_backup.log
i'm not sure what purpose all those quotation marks serve, but they are imbalanced. put one more at the end.
June 11th, 2010 4:51pm
Hi,
I agree with JamesBannan and the issue can be caused by incorrect permission. Please assure the current account has enough permission to access the network machine
shared folder and local machine.
Meanwhile, I would like to share you the following folder to use robocopy.
http://social.technet.microsoft.com/Forums/en/ITCG/thread/fa8ccb68-e372-4861-9b47-4bb2f6b4d298
Thanks,
Novak
Free Windows Admin Tool Kit Click here and download it now
June 15th, 2010 5:20am
five quotation marks won't work. six or four. but not five.
June 15th, 2010 6:44am