Solved

xcopy

Posted on 2006-11-29
11
495 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
  • 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
Independent Software Vendors: 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

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!

Question has a verified solution.

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

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

680 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