• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

copying only files that have changed (NT)

Abzstrak

Platinum Member
I need a solution, I need to copy files from one server to another, but ONLY the ones that have changed. The only connections between these boxes is a 10Mbps and there are about 180000 files in 17000 directories. about 98% of them are up to date, but I need to write a batch file or something to recopy all the ones that have changed.... recopying ALL of them would take about 24 hours which I dont have the time for. I'll only have ~ 1 hour to do it in........

any ideas? I can write batch files, but have no idea how to get it to check and go by the date...
 
If it's anything like 2k... you can use the built in backup utility to backup changed files... just back them up to the other server hehe

It's worth a shot!
 
There is a "Replicator" service in winNT which is very helpfull in synchronizing files between two machines that use winNT server or workstation. You reference Export folder(s) from the source machine and Import folder(s) on the target machine(s). The solution by scriptin (actually batching) is the use of the xcopy32 (or xcopy, can't remember which one exists) command. Try typing xcopy(32) /? for info
I've used this command to synchronize data like this... xcopy32/d/a/f/y <source path> <destination path> and it recurses subdirectories too.
 
xcopy \\drizzt\d\*.* \\wulfgar\g-drive /SVCFHRKYZDE

i run this on my win2k server(wulfgar) every 20 minutes to automatically backup files from another shared disk(drizzt\d). it works great and checks file integrity, copies only new files, blah blah... i just put all of the switches that i thought would help maintain integrity.
 
Back
Top