View Full Version : Archived backup

Aug 2, 2012, 03:19 PM
I want to back up my server daily and have the ability to restore to a specific day (within past two weeks or so). I'm currently using Carbon Copy Cloner, but it only archives files that have changed.

I want to have a set of disk images (each one is a backup), and when I open it, it should have all of the files. My server is very small (10 GB for system, 10 GB for files), so I have enough storage to do this for a few weeks.

Anyone have any idea how to do this?

Aug 6, 2012, 08:02 PM
I wrote a custom shell script to accomplish this. Every day, Carbon Copy Cloner creates a new disk image (let's say at /MacHD.CCC.dmg). A folder called "Archives" is located next to the DMG. When the backup is done, I run a script that creates a new folder within "Archives" with the date, then MacHD.CCC.dmg is moved into this folder. To save space, any folder older than two weeks in Archives is removed.