Solved

xcopy

Posted on 2006-11-29
11
497 Views
Last Modified: 2012-06-27
hi i have a customer who backs up using tape every night. they also have a spare server and would like to copy the data to that server at night as an extra backup. xcopy takes too long and is still running in the morning. is there any other way to do this??
0
Comment
Question by:mikeleahy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 50 total points
ID: 18036586
0
 

Author Comment

by:mikeleahy
ID: 18036736
excellent thanks
0
 

Author Comment

by:mikeleahy
ID: 18036896
hi

i have created a batch file for testing

robocopy c:\web c:\test /s /e

if i run it from the command prompt it runs in 2-3 seconds, if i kick off the batch file it goes on for ages and i just stop it

any ideas why
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 67

Expert Comment

by:sirbounty
ID: 18036957
Not without looking at the batch...
0
 

Author Comment

by:mikeleahy
ID: 18036992
that is the bath line

robocopy c:\web c:\test /s /e
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18037025
That's all that's in the batch?
Try adding the /log:C:\LogFile.txt
option to the end.
0
 

Author Comment

by:mikeleahy
ID: 18037063
im just doing a test like
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18037078
If that's all that's in the batch, then you 'may' see an error on the console - if not, then using the log option will put the data into a file for examination (in case you have @echo off in your batch).
0
 

Author Comment

by:mikeleahy
ID: 18037088
doesnt work
0
 

Author Comment

by:mikeleahy
ID: 18037206
if not using batch files, is there any other way i can scheduly a robocopy
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18037755
From a command line...

schtasks /create /ru USERNAME /rp PASSWORD /sc Daily /st 01:00:00 /tn RC_Copy /tr "cmd /c robocopy c:\source c:\target /s" <Enter>
0

Featured Post

Veeam gives away 10 full conference passes

Veeam is a VMworld 2017 US & Europe Platinum Sponsor. Enter the raffle to get the full conference pass. Pass includes the admission to all general and breakout sessions, VMware Hands-On Labs, Solutions Exchange, exclusive giveaways and the great VMworld Customer Appreciation Part

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question