Joseph Salazar
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
ASKER
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
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
To open Scheduled Tasks, click Start, click All Programs, point to Accessories, point to System Tools, and then click Scheduled Tasks.