[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Backup Data Files

Posted on 2011-09-07
4
Medium Priority
?
242 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 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
Can you find a fax from a vendor you saved a decade ago in seconds? Have you ever cursed your PC under your breath during an audit because you couldn’t find the requested statement or driver history?  If you answered no to the first question or yes …
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…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

649 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