1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Archived backup

Discussion in 'Mac OS X Server, Xserve, and Networking' started by jackhdev, Aug 2, 2012.

  1. macrumors 6502

    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?
  2. macrumors 6502

    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.

Share This Page