Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-04-2005, 02:29 PM
edoates edoates is offline
Registered User
 
Join Date: Jul 2005
Posts: 44
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
Reply With Quote
  #2  
Old 08-04-2005, 04:30 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
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
Reply With Quote
  #3  
Old 08-04-2005, 04:58 PM
edoates edoates is offline
Registered User
 
Join Date: Jul 2005
Posts: 44
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
Reply With Quote
  #4  
Old 08-04-2005, 05:58 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Yes, no doubt you can do that... but, as you said, it won't really save you any time...
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 08-14-2005, 06:15 PM
sjk's Avatar
sjk sjk is offline
Registered User
 
Join Date: May 2004
Location: Eugene
Posts: 252
Quote:
Originally Posted by edoates
That assumes I remember to hdiutil compact <sparse image name> from time to time.
I've automated that by running it in a script after the backup finishes. Still want to modify it so it only compacts when the percentage of free space exceeds a certain amount (or with some other condition; suggestions welcomed) instead of every time.

Quote:
I'm after practical recommendations from those who have used SuperDuper for some time with long periods of only using "smart backup."
I've been successfully using Smart Update with sparse images for over six months.
Reply With Quote
  #6  
Old 08-14-2005, 09:39 PM
macfeller macfeller is offline
Registered User
 
Join Date: Feb 2005
Posts: 49
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?
Reply With Quote
  #7  
Old 08-15-2005, 12:13 AM
sjk's Avatar
sjk sjk is offline
Registered User
 
Join Date: May 2004
Location: Eugene
Posts: 252
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. A drawback is that they need to be manually compacted to reclaim unused space.

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.
Reply With Quote
  #8  
Old 08-15-2005, 01:17 PM
macfeller macfeller is offline
Registered User
 
Join Date: Feb 2005
Posts: 49
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Smart Backup is very slow macgruder General 1 07-19-2005 09:09 AM
Sparse image mounted over network is grayed out in backup destination list therevolution General 5 06-25-2005 07:49 PM
Smart Backup Error bill s General 20 02-04-2005 09:46 AM
Backup to Sparse Image on Linux Box Through Network sukhjeet General 1 12-31-2004 08:08 PM
Sparse Images under Jaguar SpinUp General 1 12-05-2004 07:48 AM


All times are GMT -4. The time now is 06:49 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.