cd ~/Programs/
curl -L https://github.com/torarnv/sparsebundlefs/tarball/master | tar xvz
apt get install libfuse-dev libfuse2 fuse-utils
make
sudo ~/Programs/sparsebundlefs /srv/backups/TimeCapsule/johans\ mac.sparsebundle/ /mnt/timemachine/
root@server:/tmp/timemachine# /sbin/parted /tmp/timemachine/sparsebundle.dmg
Warning: Unable to open /tmp/timemachine/sparsebundle.dmg read-write (Read-only file system). /tmp/timemachine/sparsebundle.dmg has been opened read-only.
Warning: Unable to open /tmp/timemachine/sparsebundle.dmg read-write (Read-only file system). /tmp/timemachine/sparsebundle.dmg has been opened read-only.
GNU Parted 2.3
Using /tmp/timemachine/sparsebundle.dmg
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) unit
Unit? [compact]? b
(parted) p
Model: (file)
Disk /tmp/timemachine/sparsebundle.dmg: 838860800000B
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 20480B 209735679B 209715200B fat32 EFI System Partition boot
2 209735680B 838726561791B 838516826112B hfsx disk image
root@server:/tmp/timemachine# mount -v -t hfsplus -o ro,loop,offset=209735680,sizelimit=838516826112 /tmp/timemachine/sparsebundle.dmg /tmp/dmg2
cd /tmp/dmg2/Backups.backupdb/johans mac