Copying Macrium images to a second drive

Get help for specific problems
Posts: 15
Joined: 27 Jan 2023

Buddy

I do a full image of my C:\ drive with Macrium Reflect once each month. The rest of the days of the month, I have Macrium do an incremental backup. All these go to my D:\ drive, which is a separate USB HDD external to my laptop. Macrium is set to retain three months of full and incremental backups, then delete.

Each month's new Macrium full image is a new file with a new name, rather than being saved under the same name as the old image. Incremental images work the same.

I also have an E:\ drive, where I replicate all my primary backups, as insurance against the D:\ drive failing. It only has enough free space for one month of Macrium full and incremental images.

I want to set up a FFS batch file to run daily from Windows Scheduler to make the D>E update. It's easy enough to copy the newly written full or incremental files from D using FFS. But. I can't figure out how to get FFS to delete any files older than one month on the target E:\ before copying the new content from D:

Is there a way to do this with FFS?

If it's not possible with FFS, can someone point me to a link for a script or BAT file, that I can edit for my specific needs?
User avatar
Posts: 4059
Joined: 11 Jun 2019

xCSxXenon

I'm not sure of a way to do it in FFS. a batch script with 'forfiles' may be of use
Posts: 15
Joined: 27 Jan 2023

Buddy

After I posted this, I discovered the Forfiles command. Looks like that might be the solution. Have Windows Task Scheduler kick off a BAT file with the deletion from Forfiles, then run FFS to bring over the new image. I'm going to play with it on some test files.

Thanks, @xCSxXenon.