Aller au contenu principal

Can I write a script or batch file to delete backup files older that 45 days?

Thread needs solution

I use Acronis True Image Home to do a full backup every 30 days, and incremental backups daily. The consolidation feature has NEVER worked write in any version of the program I've used (11, 2009, 2010) - it seems to go on "consolidating" for hours and hours until it is stopped. I'd like to delete backup files older than 45 days after the successful completion of a backup. This was possible in version 11, but I see no way to do it in 2010. Can this be done in a script or some other way, so that I can keep the maximum number of backups without filling up the hard drive?
Thanks!

0 Users found this helpful

chain2gen was written to address this issue and others it may suite your needs too.

chain2gen is a set of batch files which are completely parameter/variable driven.
you declare/configure if what days (or what events) will trigger a new full backup.
you also declare/configure if chain2gen should take the existing backup chain and migrate into history
you also declare/configure if chain2gen to maintain "x" number versions of history.

with chain2gen it would be trivial to have acronis make a full backup on the first sunday of every month taking the prior month's chain of ".tib" files and move them into a history folder and maintain just 1 (or more) months worth of history.
with the above configuration you would always be able to restore to any date within the last 30 days (or so depending on how the calander fell this month).

all you need to do is download the zip file and follow the pdf instructions.

http://forum.acronis.com/forum/5940