Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jackhdev

macrumors 6502
Original poster
Apr 9, 2011
343
0
Bismarck, North Dakota
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?
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.