Backup Only Modified or New Files

October 17, 2009 at 13:50:46
Specs: Windows Server 2008
A simple batch file that scans a drive and copies all new and modified files (within the last 60 minutes) to a destination folder. Within the destination folder, the batch file creates a new folder named with the date and time the backup is run (formatted as: 2008-10-15 06-10 0 the last part is military time with hour and minute).

I will set my Windows Scheduler to run this backup batch file each hour. The goal is to backup any new file I create or modify to a new location each hour.

I do NOT want to use incremental backup programs. These copy ALL file to a new location and compare modified dates.

Many thanks. I hope for a batch file or software solution for my problem.

See More: Backup Only Modified or New Files

Report •

October 17, 2009 at 15:08:04
sounds like you want xcopy. check the parameters with xcopy
/? from a command prompt, /d check against date, if no date is
given, then time.

(\__/) this is bunny
(='.'=) copy bunny into all your signatures
(")_(") to help him gain world domination!

Report •

October 17, 2009 at 15:10:24
Do you have a sample script?

Report •

October 17, 2009 at 22:20:24
xcopy src dest\ /s/d/y/c/v/r

Helping others achieve escape felicity


Report •

Related Solutions

October 18, 2009 at 10:01:27
Perfect. Thank you!

Report •

October 23, 2009 at 09:24:26
Check out XXCOPY and RoboCopy for even more options

Report •

Ask Question