Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Time machine compression ratio

I know that previously Time Machine didn't do any compression, it is 1:1, but it seems that even on Mavericks it still doesn't.

How is it possible that with all Apple inovation they still didn't come up with the way to compress the image.

Why do I need to back up almost 1Tb of Data equally to 1Tb data where is the logic in it?

I haven't found a way or options to see if there is a way to compress the image, but Time Machine options are pretty basic and I couldn't find anything to work with.

Anyone had better luck or we are all in the same boat here?

iMac, OS X Mavericks (10.9.3)

Posted on May 19, 2014 9:19 PM

Reply
Question marked as Best reply

Posted on May 20, 2014 5:39 AM

It doesn't do compression. You should remember that for local backups the default method is not to use a disk image but instead use file copies, therefore there is no disk image to compress. I think the reasoning is that with a disk image type backup as used with network time machine for example, the way the compression is done is by analysing the entire contents of the disk image in order to work out the best compression. If so doing this for a entire Time Machine backup would be prohibitively slow, the fact that Apple use a sparse disk image format and not the standard disk image format whereby multiple backup image 'slices' are used may also make compression impossible as a file may spread across multiple slices and trying to adjust things with compression would be too complex.


Time Machine is intended as a simple consumer focussed backup and for that it is truely excellent. It is the fact it is so good at that that has meant people have adopted it for more business/enterprise use something which we all sadly know Apple do not really give a monkeys about.


If you want a more business focused backup solution you need to look elsewhere. Perhaps Retrospect or PresStore.


PS. Disk space is cheap, just get a bigger hard disk if needed.

5 replies
Question marked as Best reply

May 20, 2014 5:39 AM in response to Freejack1977

It doesn't do compression. You should remember that for local backups the default method is not to use a disk image but instead use file copies, therefore there is no disk image to compress. I think the reasoning is that with a disk image type backup as used with network time machine for example, the way the compression is done is by analysing the entire contents of the disk image in order to work out the best compression. If so doing this for a entire Time Machine backup would be prohibitively slow, the fact that Apple use a sparse disk image format and not the standard disk image format whereby multiple backup image 'slices' are used may also make compression impossible as a file may spread across multiple slices and trying to adjust things with compression would be too complex.


Time Machine is intended as a simple consumer focussed backup and for that it is truely excellent. It is the fact it is so good at that that has meant people have adopted it for more business/enterprise use something which we all sadly know Apple do not really give a monkeys about.


If you want a more business focused backup solution you need to look elsewhere. Perhaps Retrospect or PresStore.


PS. Disk space is cheap, just get a bigger hard disk if needed.

Jan 10, 2017 10:00 PM in response to Freejack1977

Yet Finder shows me that for my imac (OSX 10.9.5) that used space on external drive to which I backed up is less than used space on internal drive from which I backed up. All files seem to be there (on external backup drive), but while used space on internal/source drive is 354.39 GB, used space on external backup drive, after full backup, is 85.83 GB. How can this be if no compression is being done?

May 20, 2014 10:04 AM in response to Freejack1977

If you have 700GB of data then obviously you need at least 700GB of space to do one full backup. Beyond that the amount of space needed will be dictated by how much changes and how often. Time Machine makes and keeps backups according to the following default schedule


  • Hourly backups for the last 24 hours the Mac has been turned on, if it has been on continuously for the last 24 hours that will be 24 backups
  • Daily backups for the last month, it is has been on each day for the last month that will be about 30 backups depending on which month
  • Weekly backups for as many weeks as the Mac has been running and doing backups, until the backup drive is full, if you have enough space for a year that would be 52 backups


See http://support.apple.com/kb/ht1427


So as a hypothetical total number of backups for one year and assuming the Mac was on every day for that year and there was enough space this would total something like -


24 + (number of days in month) + (number of weeks in a year) = 106


It might actually be a bit less because I am not sure if it keeps daily and weekly backups for the latest/current month, if it does not it might be more like 101.


Now if on average 10% of files change per day then we would need for an entire years backups the following amount


1 x 700GB + (365 x (700GB x 10%)) = 26250GB


In reality you may have far less than 10% change per day, as a comparison lets use 1% changing per day


1 x 700GB + (365 x (700GB x 1%)) = 3255GB


As a minimum Time Machine will try and keep backups for the last day and last month which would be 24 + 30 backups, it then keeps as many weekly backups as will fit. Once it runs out of space it is supposed to automatically throw away the older backups. So if we start from new we have the following numbers of backups (assuming it is running all day everyday and have enough space)


End of day 1 = 24 backups

End of day 2 = 24 + 1 = 25 backups

End of month 1 = 24 + 30 = 54 backups

End of month 2 = 24 + 30 + 1 = 55 backups

End of month 3 = 24 + 30 + 4 = 59 backups

End of month 4 = 24 + 30 + 8 = 63 backups

End of month 12 = 24 + 30 + 52 = 106 backups


As far as I can see Time Machine really wants to keep a minimum of an entire day i.e. 24 backups plus an entire month i.e. 30 = 54 backups plus a weekly backup, if you don't have enough space for that i.e. 55 backups then I suspect it will get upset and complain about space regardless of its supposed ability to automatically throw away older backups.


Going back to our space formula, if we estimate a change rate of 1% per day this means I feel Time Machine would need a minimum space of


1 x 700GB + ((1 + 30 + 7) x (700GB x 1%)) = 966GB


However I think it wise to assume it would be happier with a bit more than that for working space etc.


Note: the above reflects one day plus one month (i.e. 30 days) plus one weekly backup i.e. a total of 32 backups, or more importantly the equivalent of 38 days of changes. As we are estimating a daily change rate of 1% the fact there are 24 backups for the latest day makes no difference to the amount changed, you are not changing 1% per hour, but 1% per day, the changes would be merely split in to 24 hourly backups.


This should give you a way of more accurately judging how big a backup drive you need.


If you are finding it is not throwing stuff away then maybe you don't have enough space for the (I feel) minimum of 1 day + 1 month + 1 week, however I also feel as per the following article that sometimes Time Machine just gets confused and unable to throw away older backups. See -


http://www.macworld.co.uk/news/mac/time-machine-says-drive-full-what-should-i-do -3456272/

May 20, 2014 10:18 AM in response to Freejack1977

Freejack1977 wrote:


how big a hard drive for backups i need now. If I got 700GB or more of DATA, another problem with Time Machine that for me at least, it does not delete the previous backup when the hard drive getting full...

There is a general rule of thumb that a backup volume should be 3 times the size of the data you want to backup. Obviously, even the biggest disk will fill up eventually. I've always moved my backup (or started again from scratch) before TM fills the disk.


Sometimes, (sometimes), TM doesn't always behave when it gets full, so I try to avoid that.

Time machine compression ratio

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.