Several things here are just ...
LucidEye wrote:So from what I've read, the "dd" command-line app does not support the EXT4 file system... or at least not very well.
wrong ,
dd just does basic low level stuff it does not know or care about any filesystem
LucidEye wrote:
And most of the other Linux drive imaging apps out there do not support EXT4 either... which I just don't understand.... why have a file system that can not be backed up through full drive imaging or cloning?
dunno where you get this info from can you URL me a source
LucidEye wrote:
Full drive imaging is the best way to backup any system... in the event of a crash you can have your whole system up and running again in minutes with maybe only a couple of updates to run depending on how often you make backup images.
it depends - and not in mins if you have several hundred Gig's worth of data
what you may want to do is have the OS and data on separate drives [raid 5 for starters]
LucidEye wrote:
Most of the Linux "backup solutions" are only FILE backups... file backups are great for backing up USER DATA like photos or documents... but they are not good for backing up the system partition which your OS boots from as they usually do not backup boot files, boot sectors, or MBRs... nor can they backup any files that are in use by the system. Nor can file backups preserve drive partition information. So these are not what I consider full disaster recovery backup solutions, and will not work for what I need to do here. In the event of a crash you would have to do a full re-install of your whole OS, and then reinstall and configure all your apps, and then copy all of your backed-up files and directories to the drive and hope that it all works... that process could take hours, days, or longer... rather than the 10 to 20 minutes it takes to simply clone a whole drive image to a new drive or SD card and be up and running again like nothing happened.
file backups are fine for for the most part
the backup of the OS drive will backup all installed programs and settings
if you want to start again from a fresh system
all you have to do is partition up the new drive how you want it and then dump the file info onto that partition, in fact this is better than a dis image as you can have a completely new file system regime [moved from riserfs to ext4 or other] and everything is happy
the partition info is immaterial to the os
LucidEye wrote:
As far as I am aware, all of the current R-Pi distros are set up by default using the ext4 file system... which means that most of the imaging backup apps out there will not work. However, Pi distros also have a FAT32 partition which I assume is the boot partition needed to start the Pi and load the firmware for the ARM/GPU.
Does anyone know if this FAT32 partition is needed or can the Pi boot directly from an ext3 or ext4 bootable partition? Did they have to do it this way because there is no BIOS stored on the Pi? Can I expand the FAT32 partition and move all my Linux files there and just run my whole distro from one partition instead of 2? It would be nice if I could run it all from one FAT32 partition since there are many drive imaging apps that fully support FAT32.
nothing wrong with ext4 - some may argue that it is perhaps not the best for a flash filesystem but I'm not really convinced [and may people out there in linux land also say this]
the RPi needs a fat32 partition as that is what the SOC can read via the GPU -
this can be backed up with a simple copy the size is not important
you can run from an image stored in a file on a fat32 image but it will be limited to sized constrained to fat32 ..
and also adds another level of obscurity -
linux really needs a file system has extended file attributes on
LucidEye wrote:
Either way, I am still in search of a drive imaging/cloning app for Linux that supports the EXT4 file system... and preferably a GUI based one since I really don't like messing with CLI apps that can irreparably damage or erase an entire drive with just one simple typo.
What apps are these companies using that offer preloaded Pi SD cards? What apps are the developers releasing the Pi distros using to create the .img files?
gui is just as damaging as the commandline
if you want to backup your system [on the RPi] then dd will do the job you want there is probably a gui version but the raspberry is best served by the command line as it empowers you to know what is happening,
you can take out the sd card and use windows or a mac and copy the entire disk
or even dd from a live system on the RPi but I would use rsync personally
the distros will use dd to create the image
make a small 2GB system and then dd and limit the dd to be just after the end of the filesystem
then it uses parted to expand the filesystem on 1st boot