Batch Backup - TechRepublic
Question
January 17, 2007 at 02:43 PM
peterr

Batch Backup

by peterr . Updated 19 years, 4 months ago

I have created a batch file to backup data to cd on my windows XP machine. It has worked successfully for the past two years, but the programmer of one of the programs (located in the P:\ directory) has changed the internal backup event to create multiple daily backups. This now creates too many files (size) to fit on the cd. I have tried to append my batch to select only files modified today or in the past 2 days, but to no avail. Any help is appreciated.

@ECHO OFF
:START
XCOPY P:\*.* “C:\Documents and Settings\trevord\Local Settings\Application Data\Microsoft\CD Burning” /-Y /H /D /E
COPY F:\datafuel\BACK_U~1\Server\DFDBBA~1.MDB “C:\Documents and Settings\trevord\Local Settings\Application Data\Microsoft\CD Burning” /-Y
COPY F:\works\FLEETM~1\FLEETD~1.MDB “C:\Documents and Settings\trevord\Local Settings\Application Data\Microsoft\CD Burning” /-Y

This discussion is locked

All Comments