troubleshooting Question

Batch File to move Folders / Files to USB devices

Avatar of baleman2
baleman2 asked on
NetworkingStorageStorage HardwareScripting LanguagesWindows Batch
4 Comments1 Solution103 ViewsLast Modified:
We have an external Hard Drive (Drive E:) that is shared by 4 end users, i.e., all end users save documents to this device.   This device is never taken off the network.  Although Carbonite is being used for offsite storage of all content on this drive, we'd like to have a local backup solution also.
Our intention is to have 2 USB hard drives that would be plugged in to an end users computer in late afternoon just before our end users leave work.  Device USB1 and Device USB2 would be used on Monday for an initial copy of the Folders / Files from Drive E:.   Then, the devices would be used on alternative nights from that time on.
I need a batch file that would:
   1) On Monday, copy all files from Drive E: to USB1 and USB2
        a) Folder and File Structure would have to be duplicated exactly
 I need a different batch file that would:
   1) On Tuesday late afternoon, only APPEND to Device USB1 those files that had been changed since the files were last saved on Device USB1.
   2) On Wednesday morning, Device USB1 would be unplugged and stored in a safe place.
       a) Device USB2 would be plugged in and be ready for use late afternoon.
   3) On Wednesday late afternoon, only APPEND to Device USB2 those files that had been changed since the files were last saved on Device USB2
   4) On Thursday morning, Device USB2 would be unplugged and stored in a safe place
       a) Device USB1 would be plugged in and be ready for use late afternoon.
   5) Process would continue on all workdays.

In the event of disaster to Drive E: at any time during the day, at worst we'd have a copy of Drive E: on either USB1 or USB2 that would be missing only the current day's Folders / Files.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros