Solved

xcopy

Posted on 2006-11-29
11
491 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
 
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now