Skip to content

[Request]: ext4 sparse file size and interaction with Time Machine #612

@DrCuff

Description

@DrCuff

Feature or enhancement request details

Hi team,

Eric suggested that I drop a note here. TL;DR, sparse images created by container are somewhat generous per container. snapshot and image files come in at 1.5TB which doesn't get managed well with Apple Time Machine backups over SMB. It's the weirdest edge case, but broke backups and took a while to realize that the files are "unsparsed" as they reach the back up. Info here:

https://www.linkedin.com/feed/update/urn:li:activity:7373442020146823169/

The files in ~/Library/Application Support/com.apple.container/ are the ones that become unsparsed with Time Machine. Current work around is to disable Time Machine for that directory and backup directly with container save image:

Disable TM: https://bsky.app/profile/chromamagic.com/post/3lyvjfg5jec2d

Use Save Image: https://bsky.app/profile/chromamagic.com/post/3lyvlr7l72k2k

I marked this as feature as it's not really a "bug", just a strange interaction between Time Machine and some rather generous ext4 defaults. In the end this may well be a Time Machine thing, rather than a "container thing", it only comes to light when using TM for backup.

Low priority, I may well be the only person on the planet doing this, but it was a weekend head scratcher for sure! :-)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    nextItems in scope for the next few milestonesstorageissues and features associated with storage.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions