![]() |
|||||||||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
#1
|
|||
|
|||
Sparse images: only use smart backup?
Once I've created a sparse image with enough extra space to handle reasonable expansion, is there ever a reason to completely refresh it by doing a full "erase and backup," or is it reasonable to do "smart backup" from then on, forever? That assumes I remember to hdiutil compact <sparse image name> from time to time.
I'm after practical recommendations from those who have used SuperDuper for some time with long periods of only using "smart backup." When I used to use Retrospect, I would do a full backup every two weeks, and incrementals between that because the backup container go very large after a while, and restoring single files took forever to list the directories (apparently it has to pass over all the deleted entries). So far, I've been using SuperDuper in this Smart mode, and though compacting does takes some time (80GB sparse image, 56GB used), it appears to be functioning OK. I did a trial diskutil "restore" to another firewire drive and it worked perfectly: bootable and all! Ed |
#2
|
||||
|
||||
Well, there's no "data integrity" reason to, no. But, replacing individual files, over time, can cause fragmentation of the volume. Since it's a backup, that shouldn't matter that much, but erasing it can straighten things out.
Apart from that, though, no. I never use Erase, then copy -- other than for testing -- with my own volumes.
__________________
--Dave Nanian |
#3
|
|||
|
|||
That's what I was hoping you would say.
As a side note, it is possible to defragment sparse images using TechTools 4 optimization: turn off journalling (in Tech Tool 4) and you can optimize the volume. But it seems to be actually slower than just doing a new erase and backup. And probably more risky, though Tech Tool 4 has not had any problems at all on my systems. Ed |
#4
|
||||
|
||||
Yes, no doubt you can do that... but, as you said, it won't really save you any time...
__________________
--Dave Nanian |
#5
|
||||
|
||||
Quote:
Quote:
|
#6
|
|||
|
|||
Just today have I considered sparse images and have found my way back here. I am inclined to not bother with them. I just don't get the benefit. If I have it right, a *full* sparse disk image, when unmounted is the same size as a standard disk image of the same size. That is, presently, one facet of my backups is a disk image the same size as my boot partition. There have been times that partition has been damn near full and so the backup was, too. Were I to use a sparse disk image for such, when unmounted wouldn't it be of similar size? If so, and with the fact that it doesn't shrink when things are deleted without delving into Terminal, what's the advantage?
I got into this because I was under the assumption that sparse disks were compressed. If they aren't (and in my tests they haven't), again, where's the good? |
#7
|
||||
|
||||
From Creating a disk image of a device, folder, or volume:
You can create a full disk image that uses the same amount of disk space as the disk it represents, or create a sparse disk image that includes only the data on the disk. For example, a 10MB disk may have only 5MB of data. A full disk image would be 10MB, while a sparse disk image would be 5MB. Sparse images don't preallocate disk space in the filesystem, which definitely has advantages in certain situations; the example you gave isn't one of them. ![]() In my current backup strategy I waste less disk space by using sparse images. When I store several on a single volume it means that no single image is using more space than it needs, which leaves room for the others to grow. That gives me enough flexibility to balance a limited amount of disk space until there's a real need to purchase more. And I can move images to smaller volumes which have enough free space for the sparse type. |
#8
|
|||
|
|||
Thanks. By bed time I had gotten close to having everything staraight in my head and your answer helps greatly. I still may switch to sparse just cause their cool. Yeah, stoopid reason, but then ...
What really gets me is why they can't compact themselves. If they're smart enough to grow, why not shrink? The hdiutil thang ain't tough, but if you do get the scripting for it done do please post us. Again, thanks. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Smart Backup is very slow | macgruder | General | 1 | 07-19-2005 10:09 AM |
Sparse image mounted over network is grayed out in backup destination list | therevolution | General | 5 | 06-25-2005 08:49 PM |
Smart Backup Error | bill s | General | 20 | 02-04-2005 10:46 AM |
Backup to Sparse Image on Linux Box Through Network | sukhjeet | General | 1 | 12-31-2004 09:08 PM |
Sparse Images under Jaguar | SpinUp | General | 1 | 12-05-2004 08:48 AM |