?
Solved

Backup Data Files

Posted on 2011-09-07
4
Medium Priority
?
245 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
  • 2
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
Steve earned 1500 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

840 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