Hey guys. Whether its archaic or not, I use dd to backup partitions. For preferance I pipe it through gzip, so using a command themed on
dd if=/dev/sda1 sync=conv,noerror | gzip -c > /mnt/disk/sda1.img.gz
Which works well. But I cant mount it without extracting it first, and this is inconvenient. It leads to making backups just using dd, which I mount using -o loop. This is also inconvenient.
So is there a way of copying the partition, using compression, and mounting the file later on if I need to add files to or remove them from it?
Perhaps I'm just being thick, but I don't seem to get it. Something along the lines of gzip | mount perhaps
I hope the above makes sense, I'm evidently not very good with linux yet.
dd if=/dev/sda1 sync=conv,noerror | gzip -c > /mnt/disk/sda1.img.gz
Which works well. But I cant mount it without extracting it first, and this is inconvenient. It leads to making backups just using dd, which I mount using -o loop. This is also inconvenient.
So is there a way of copying the partition, using compression, and mounting the file later on if I need to add files to or remove them from it?
Perhaps I'm just being thick, but I don't seem to get it. Something along the lines of gzip | mount perhaps
I hope the above makes sense, I'm evidently not very good with linux yet.