Link to home
Start Free TrialLog in
Avatar of Joseph Salazar
Joseph SalazarFlag for United States of America

asked on

Backup Data Files

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
ASKER CERTIFIED SOLUTION
Avatar of Steve
Steve
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of Joseph Salazar

ASKER

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
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