Author Topic: ApplePi-Baker V2 is a small macOS utility that lets you backup or restore disks  (Read 24 times)

0 Members and 1 Guest are viewing this topic.

Software Santa

  • Administrator
  • *****
  • Posts: 4580
  • OS:
  • Mac OS X 10.13 Mac OS X 10.13
  • Browser:
  • Firefox 78.0 Firefox 78.0
ApplePi-Baker V2 is a small macOS utility that allows you to backup or restore disks/USB Drives/SD Cards

https://www.tweaking4all.com/software/macosx-software/applepi-baker-v2/

Quote
ApplePi-Baker has become well known amongst Raspberry Pi users, with a Mac running macOS, to backup and restore SD-cards. Users do not just use ApplePi-Baker for this purpose anymore – I have seen users use it for backup and restore of pretty much anything not Raspberry Pi related.

Late 2013, I created ApplePi-Baker for my own use – I just got tired of looking up the proper command-line statements.
This way, ApplePi-Baker became my personal frontend for command-line tools like “dd“, “diskutil“, “mount” etc.

Over time, the use of command-line tools came with some problems; thanks Apple for changing command-line tool output with every new version of macOS. Besides that, having to enter your “sudo” password each time was a pain as well, and came with the occasional problems for a small group of users, so that had to go as well.

About 2 years ago I decided to rebuild ApplePi-Baker from scratch, no longer using any of the command-line tools. This came with quite a few challenges, especially since Apple increased security for macOS, not allowing me to do certain things straight from my program (see also SMJobBless: Elevated Privileges in Lazarus Pascal). I’m not even mentioning the drama when it comes to supporting the different compression formats, signing applications, and 64-bit requirements.

Almost 2 years later, I proudly present ApplePi-Baker v2. – special thanks to Jeff and Mark for testing!

UPDATE: ApplePi-Baker now also support shrinking and expanding of Linux partitions!

ApplePi-Baker is a small macOS utility that allows you to backup or restore disks.
At its core, it uses the same format as produced by “dd“, a raw byte-by-byte copy of the disk – typically with the “.IMG” file extension.

As I mentioned; IMG file format is a raw copy of every single byte of the source disk, and nothing fancy is being done with it.
This also means that if your disk is 32Gb, even though you may be using only 1 byte, your backup file will still be 32Gb!

Note : For backup and restore, ApplePi-Baker only supports non–system disks.
You cannot make a backup of your macOS system disk.

Note : ApplePi-Baker can optionally shrink (or expand) Linux Ext partitions.
The build in shrink/expand option only works for Linux Ext partitions on a Primary Partitions, and only when your disk uses MBR (Master Boot Record).
This means that GUID Partition tables and Extended Partitions (Partitions with partitions on it) are NOT supported for resizing.

Note : Some folks use the “.DD” extension instead of the “.IMG” extension.
The file format is the same though (not to be confused with the old “DiskDoubler” file format).

ApplePi-Baker Supported Formats

ApplePi-Baker support quite a range of file formats, in part due to libarchive that is being used.
Basically, anything libarchive can read or write, ApplePi-Baker can as well.

In ApplePi-Baker however, I have limited the formats used for creating a backup intentionally, to avoid odd-ball formats that are not supported by other tools or could be used in an incorrect way (like using GZip without TAR).

Formats supported for making a Backup

ApplePi-Baker supports the following formats (selected in the Save dialog when creating a backup). The extension is based on the commonly used extension for the selected format;

    7Zip (extension: .7z)
    IMG (extension: .img)
    Tar BZip2 (extension: .tbz)
    Tar GZip (extension: .tgz)
    Tar LZip (extension: .tlz)
    Tar XZ (extension: .txz)
    Zip (extension: .zip)



Formats supported for doing a Restore

There is quite a variation out there when it comes to file formats for backups. I’ve tried to capture them all, even ones that are not commonly used. Feel free to post a comment below if a format is missing, and I will see what I can do to add this odd format.

    7Zip (extension: .7z, .7zip)
    BZip (extension: .bz,. bz2, .bzip) *1
    GZip (extension: .gz, .gzip) *1
    IMG (extension: .img, .dd, .raw, .dump)
    ISO (extension: .iso) *2
    Jar (extension: .jar)
    LZip (extension: .lzip) *1
    Rar (extension: .rar) *3
    Tar (extension: .tar)
    Tar BZip2 (extension: .tbz, .tbz2, .tar.bz, .tar.bzip, .tar.bz2, .tar.bzip2)
    Tar GZip (extension: .tgz, .tar.gz, .tar.gzip)
    Tar LZip (extension: .tlz, .tar.lzip, .tar.lz)
    Tar XZ (extension .txz, .tar.xz)
    XZ (extension: .xz) *1
    Zip (extension: .zip)

 

Notes :

*1 : These files were not created entirely correct, as they are compressed, but not archived (tar).
*2 : Be careful with ISO files, you may end up with unexpected results – see below.
*3 : Only Rar < v5 are supported (a libarchive limitation).

https://www.tweaking4all.com/software/macosx-software/applepi-baker-v2/

 


This Site was Opened on January 1st, 2007

Welcome Visitor:





@MEMBER OF PROJECT HONEY POT
Spam Harvester Protection Network
provided by Unspam



Software Santa Welcome Page

The Software Santa Privacy Policy