PC Review


Reply
Thread Tools Rate Thread

backup with xcopy

 
 
Kostas K.
Guest
Posts: n/a
 
      24th Nov 2003
Hello!

I want to use xcopy to copy a few folders from one drive to to another
folder on another drive for backup purposes. Could somebody tell me how to
do it with a single xcopy statement?

e.g. instead of writing:

xcopy c:\1 d:\
xcopy c:\2 d:\
xcopy c:\3 d:\

write something like that (the following does not work)

xcopy c:\1+c:\2+c:\3 d:\

Thank you

Kostas


 
Reply With Quote
 
 
 
 
John
Guest
Posts: n/a
 
      24th Nov 2003

Microsoft is a piece of ****


"Kostas K." <(E-Mail Removed)> wrote in message
news:bpt9s4$11r$(E-Mail Removed)...
> Hello!
>
> I want to use xcopy to copy a few folders from one drive to to another
> folder on another drive for backup purposes. Could somebody tell me how to
> do it with a single xcopy statement?
>
> e.g. instead of writing:
>
> xcopy c:\1 d:\
> xcopy c:\2 d:\
> xcopy c:\3 d:\
>
> write something like that (the following does not work)
>
> xcopy c:\1+c:\2+c:\3 d:\
>
> Thank you
>
> Kostas
>
>



 
Reply With Quote
 
Donald G. Davis
Guest
Posts: n/a
 
      24th Nov 2003
"Kostas K." <(E-Mail Removed)> writes:

>I want to use xcopy to copy a few folders from one drive to to another
>folder on another drive for backup purposes. Could somebody tell me how to
>do it with a single xcopy statement?


>e.g. instead of writing:


>xcopy c:\1 d:\
>xcopy c:\2 d:\
>xcopy c:\3 d:\


>write something like that (the following does not work)


>xcopy c:\1+c:\2+c:\3 d:\


It can't be done with a single XCOPY command, but if you simply
save your block of commands as a text file and name it with a .BAT
extension (e.g., BACKUP.BAT), then run BACKUP as a command, the batch file
will automatically execute your XCOPY commands in sequence.

--Donald Davis
--
--Donald Davis

[To respond by e-mail, remove "blackhole." from the address.]
 
Reply With Quote
 
Brian Jones
Guest
Posts: n/a
 
      24th Nov 2003
Donald G. Davis wrote:
> "Kostas K." <(E-Mail Removed)> writes:
> --Donald Davis


Better yet, just download XXcopy. It's free. Bypasses the limitations of
the MS version of Xcopy. XXcopy works great--I use it all the time to
mirror my HDs.


 
Reply With Quote
 
Kostas K.
Guest
Posts: n/a
 
      25th Nov 2003
I have tried both xxcopy and microsoft's robocopy.

But my problem remains the same,

either with xxcopy /clone or robocopy /mir, how can I select multiple
directories to do my backup all in one go?


"Brian Jones" <(E-Mail Removed)> wrote in message
news:w8qdneoKzJgZ81-iRVn-(E-Mail Removed)...
> Donald G. Davis wrote:
> > "Kostas K." <(E-Mail Removed)> writes:
> > --Donald Davis

>
> Better yet, just download XXcopy. It's free. Bypasses the limitations of
> the MS version of Xcopy. XXcopy works great--I use it all the time to
> mirror my HDs.
>
>



 
Reply With Quote
 
Eric Gisin
Guest
Posts: n/a
 
      25th Nov 2003
download unxutils.sourceforge.net . use "cp -r source ... dest"

"Kostas K." <(E-Mail Removed)> wrote in message
news:bpu70b$24ue$(E-Mail Removed)...
> I have tried both xxcopy and microsoft's robocopy.
>
> But my problem remains the same,
>
> either with xxcopy /clone or robocopy /mir, how can I select multiple
> directories to do my backup all in one go?



 
Reply With Quote
 
John
Guest
Posts: n/a
 
      25th Nov 2003

Use a FOR statement. You work out the exact syntax (Microsoft shits me).
Something like:

for %f in (c:\1 c:\2 c:\3) do xcopy %f d:\



"Kostas K." <(E-Mail Removed)> wrote in message
news:bpu70b$24ue$(E-Mail Removed)...
> I have tried both xxcopy and microsoft's robocopy.
>
> But my problem remains the same,
>
> either with xxcopy /clone or robocopy /mir, how can I select multiple
> directories to do my backup all in one go?
>
>
> "Brian Jones" <(E-Mail Removed)> wrote in message
> news:w8qdneoKzJgZ81-iRVn-(E-Mail Removed)...
> > Donald G. Davis wrote:
> > > "Kostas K." <(E-Mail Removed)> writes:
> > > --Donald Davis

> >
> > Better yet, just download XXcopy. It's free. Bypasses the limitations

of
> > the MS version of Xcopy. XXcopy works great--I use it all the time to
> > mirror my HDs.
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using xcopy for backup Don Culp Microsoft Windows 2000 10 30th Nov 2006 06:44 PM
Using XCopy to backup FP Webs?? Michael Microsoft Frontpage 5 4th Dec 2005 02:59 AM
using cd-rw with dos xcopy to backup to rw cds worked with ME not with XP Pro ed Windows XP Basics 3 23rd Jan 2005 10:48 PM
Backup Problems using Xcopy Joe Microsoft Windows 2000 Networking 8 25th May 2004 01:40 AM
XCOPY & BACKUP Wilmar Perez Microsoft Windows 2000 3 27th Sep 2003 10:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:24 AM.