Avatar of hpradhan08
hpradhan08Flag for United States of America

asked on 

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

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
Microsoft SQL ServerMicrosoft Server OSWindows OS

Avatar of undefined
Last Comment
hpradhan08
ASKER CERTIFIED SOLUTION
Avatar of noufs
noufs
Flag of France image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of hpradhan08
hpradhan08
Flag of United States of America image

ASKER

Hi Noufs,
Thank yo for info.

So you know what these means:
On the last run result, it says the operation being requested was not performed because the user has not logged on to the network. The specified sesrvice does not exist..
 And
Task Scheduler failed to start "\Backup" task for user "VSS-ENG\newbelgium". Additional Data: Error Value: 2147943645.

Please let me know.
SOLUTION
Avatar of ZabagaR
ZabagaR
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of hpradhan08
hpradhan08
Flag of United States of America image

ASKER

oh, ok, I'll check that and see. Thanks.
Avatar of hpradhan08
hpradhan08
Flag of United States of America image

ASKER

I checked it and it's not checked on 'Run whether user is logged in or not" ... What could be other issue?
Avatar of hpradhan08
hpradhan08
Flag of United States of America image

ASKER

ok, thanks
Microsoft SQL Server
Microsoft SQL Server

Microsoft SQL Server is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.SQL Server is available in multiple versions, typically identified by release year, and versions are subdivided into editions to distinguish between product functionality. Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning.

171K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo