Solved

Backup Data Files

Posted on 2011-09-07
4
231 Views
Last Modified: 2012-05-12
I have a Windows XP Workgroup

Client wishes to copy the following directories from main XP Box to 2nd XP box C:\backup Directory

Backup folder on Box 2 is shared with all Rights.

Wishes to backup not as a backup but using either xcopy of robocopy the following directory Structures.

I am looking for format Usage:

C:\Documents and Settings\User1\Desktop
C:\Documents and Settings\User1\my Documents

How do I write the scripts to do this?

Cjoego
0
Comment
Question by:Joseph Salazar
[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
  • 2
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
Steve earned 500 total points
ID: 36500793
You could write a simple batch file that simply uses xcopy..

eg if remote machine is mapped as z:

one the first machine you'd do something like :

xcopy /s c:\documents and settings\user\desktop\*.* z:\whatever folder\
xcopy /s c:\documents and settings\user2\my documents\*.* z:\whatever folder\

save it as a runme.bat or whatever you want to call it then run it.. just make sure you have xcopy in your path, otherwise you'll have to specify its location as well (eg. c:\windows\xcopy /s c:/etc etc..)

0
 
LVL 12

Expert Comment

by:Steve
ID: 36500798
once you've verified it works, simply use the windows task scheduler to automagically run it..

To open Scheduled Tasks, click Start, click All Programs, point to Accessories, point to System Tools, and then click Scheduled Tasks.
0
 

Author Comment

by:Joseph Salazar
ID: 36503958
When I run the script it get the following error

Invalid Number of Paramaters.

I have tried moving the /s to the end, removing it and eveing making it

just to the q: drive.........Same Error

How would I set up either Robocopy or Xcopy32???

Where can I get a copy of Xcopy32?

cjoego
0
 

Author Closing Comment

by:Joseph Salazar
ID: 36517836
put me on the path to resolution:
after much testing I used the following script and switches .
the Mapped Drive is the Z:  Drive:

cd \
cd C:\Documents and Settings\User1\Desktop
xcopy *.* z:\desktop /S /Y
CD \
CD C:\Documents and Settings\User1\my Documents
xcopy *.* z:\DOCS /S /Y
CD\
exit
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

If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

729 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