A. Cleanup old images with Macrium Free Edition automatically
Macrium Reflect Free Edition is the best free disk-image-application for 32+64 bit Windows XP, Vista and Windows 7, but it cannot clean up old backup-images automatically, as the Standard-, PRO- and Server-Editions of Macrium Reflect or the commercial products Acronis True Image or Norton Ghost do.
For the automatical cleaning up of old backup files with Macrium Reflect Free Edition to prevent the hard disk from being overfilled, you can choose one of two methods:
- Keep only a maximum of X full backups with Macrium Relect Free Eddition and a bat-file
My personal solution for this cleanup-task is a batch-file Del.Older.than.P2-Files.bat for the cleanup.
With this method you give the new backup in the folder "Drive:....\Backup-Folder"
To cleanup you must call the files e.g. with System Scheduler:
Del.Older.than.P2-Files.bat Q:\Backup.C 6
Text inside the bat-file:
REM @echo off
REM deletes the the oldest files in %1, except the youngest %2 files
if %1!==! goto end
if %2!==! goto end
for /f "skip=%KeepFiles% delims=" %%i in ('dir /b /a-d /o-d %folder%') do del %folder%\%%i /F
dir %folder% /OD
- Cleanup images older than X days with the free application DelAge32
B. Cleanup old images with Macrium Reflect Standard Edition (Prize $45 USD + VAT)
In Macrium Reflect Standard Edition there is a "Disk Space Management" function included:
With this disk-management function, you only can automatically delete backup-images older than .... days or define to keep only a maximum of X full backups.
On Macrium.com-Support-Help-How.To-Backup-Manage.Disk.Space you can read an explanation about it.
[Edited by em4020, May 09]