Robocopy Task Scheduler


i trying setup task copy sql backups network drive using task scheduler.  in program line have put robocopy , in argument line have following  f:\sqlbackup\*.* z:\     never runs argument.  have tried putting cmd in program line , copy  f:\sqlbackup\*.* z:\ in arguments , open cmd prompt.  please tell failing.. thanks

f:\sqlbackup location of file , used *.* because name changes every day of backup file , file in directory

z:\ network mapped drive want go to..

first, not use z:\ in command use full unc path \\fileserver\share\sql , make sure account used run task has sufficient permission network share.


then, suggest make .bat script , create task run script on schedule. example, .bat script can like: robocopy "f:\sqlbackup\*.*"  \\fileserver\sqlbackup appropriate arguments.



Windows Server  >  Management



Comments

Popular posts from this blog

server manager error: ADAM.events.xml could not be enumerated.

Cannot access Anywhere Access using domain name?

WMI Failure: Unable to update Local Resource Group