Re: Which is faster - COPY FILE or XXCopy?
- From: Steve Meyerson <stevemeyerson@xxxxxxx>
- Date: Wed, 26 Sep 2007 20:48:56 GMT
Thanks a lot, Jeff. Your example will help me tremendously with the
doc.
Your example took about 5 hrs. At 29.5 MB/min, my "measly" 100MB (max)
should take 3 or 4 minutes, or less, which is great.
Steve
On Wed, 26 Sep 2007 12:21:25 -0400, "Jeff Grippe" <jeff@xxxxxxxxx>
wrote:
I may be able to do the backup totally outside of VFP if I use XXCopy,
but I would need to come up with a way to name each folder so the date
and type of backup (full or incremental) is included in the date for
selective restore purposes - i.e. I need to RTFM :-(
XXCOPY does this. It is the reason that I chose it as a tool
Here is a sample from my batch file
xxcopy K:\CHECKS\ G:\/$YYYY-MM-DD$\CHECKS\ /S /I /C /oA/$YYYYMMDD$.TXT
This copies the checks folder from drive K to a folder on drive G whose name
(today) would be
G:\2007-09-26\CHECKS
The final switch /oA/$YYYYMMDD$.TXT
Appends to a file called (today) 20070926.TXT which contains the results
from the operation. They look like this:
===============================================================================
XXCOPY ver 2.92.6 2007-09-18 18:18:20 Windows Ver 5.1.2600
Command Line = xxcopy K:\CHECKS\ G:\/$YYYY-MM-DD$\CHECKS\ /S /I /C
/oA/$YYYYMMDD$.TXT
-------------------------------------------------------------------------------
Switch Parameters
/AXH /AXS /B0 /C /CA /CB0 /CCY /CK /CR3 /D0 /DL0 /E0 /EC0 /ED0 /ER0 /F0
/FM0
/FF0 /FL /FT0 /FW /H0 /I /IN* /K0 /L0 /N0 /NP0 /NX0 /NI0 /NW /NC0
/oAe:\20070918.TXT /oD1 /oE0 /oF1 /oI0 /oP0 /oS0 /oX0 /P0 /PB0 /PBH /PC0
/PD0
/PN /Po /PZ0 /Q0 /QF0 /QB0 /QS0 /R0 /S /SP0 /SG0 /SX0 SZ:- /T0 /TR00 /TS0
/TD0 /TTA0 /TCA0 /TCC0 /TCW /TM0 /U0 /V0 /W0 /WD /Z0 /ZE0 /ZS0 /ZX0
-------------------------------------------------------------------------------
Source base directory = "K:\CHECKS\"
Destination directory = "G:\2007-09-18\CHECKS\"
File name template = "*"
Directories processed = 4,448
Total data in bytes = 9,027,685,968
Elapsed time in sec. = 18,360
Action speed (MB/min) = 29.5
Files copied = 303,322
Directories created = 4,443
Log File Appended = e:\20070918.TXT
Exit code = 0 (No error, Successful operation)
As you can see, you have the total data in bytes and the elapsed time in
seconds.
Jeff
.
- Follow-Ups:
- Re: Which is faster - COPY FILE or XXCopy?
- From: Jeff Grippe
- Re: Which is faster - COPY FILE or XXCopy?
- From: Anders Altberg
- Re: Which is faster - COPY FILE or XXCopy?
- From: TonySper
- Re: Which is faster - COPY FILE or XXCopy?
- References:
- Which is faster - COPY FILE or XXCopy?
- From: Steve Meyerson
- Re: Which is faster - COPY FILE or XXCopy?
- From: Steve Meyerson
- Re: Which is faster - COPY FILE or XXCopy?
- From: Jeff Grippe
- Which is faster - COPY FILE or XXCopy?
- Prev by Date: Re: Fetching more records for a grid
- Next by Date: Re: Implementing events members of and Activex
- Previous by thread: Re: Which is faster - COPY FILE or XXCopy?
- Next by thread: Re: Which is faster - COPY FILE or XXCopy?
- Index(es):
Relevant Pages
|