troubleshooting Question

It doesn't run when I schedule as window's task...What is wrong with this robocopy scipts?

Avatar of hpradhan08
hpradhan08Flag for United States of America asked on
Microsoft SQL ServerWindows OSMicrosoft Server OS
6 Comments2 Solutions602 ViewsLast Modified:
Hi there,
It doesn't run when I schedule  the followin scipt as window's task...What is wrong with this robocopy scipts? Could you please help?

The OS = Window Server 2008 R2 SP1

:: Backup script to copy database backup files to local Datadomain
:: Updated by:
:: Date
:: Set VARS
set T02_backup=1

:: Check for active backup disks
touch i:\backup
if errorlevel == 1 set T02_backup=0

:: Copy Database Backup files to Datadomain
if %T02_backup% == 1 (

robocopy "souce" "Destination" /-E /NP /LOG:Backup2DataDomain_Log.txt
ASKER CERTIFIED SOLUTION
noufs

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros