A snapshot of your computer with dd, pv and gzip - Part 1
allgood38.github.io
A snapshot of your computer with dd, pv and gzip - Part 1
1–10 of 34 posts
Re: A snapshot of your computer with dd, pv and gzip - Part 1
#2If you want a bit-for-bit dump of an online filesystem, use Linux LVM to create a snapshot, then make an image of that (100% known crash-consistent) copy.
Re: A snapshot of your computer with dd, pv and gzip - Part 1
#3Re: A snapshot of your computer with dd, pv and gzip - Part 1
#4This reminds be of doing a tar archive of all your files--if the archive is corrupted during that process, what then?
Re: A snapshot of your computer with dd, pv and gzip - Part 1
#5Re: A snapshot of your computer with dd, pv and gzip - Part 1
#6I normally run it off a live CD/USB of Parted Magic [2], another tool I can wholeheartedly recommend.
Re: A snapshot of your computer with dd, pv and gzip - Part 1
#7Re: A snapshot of your computer with dd, pv and gzip - Part 1
#8Consider using Clonezilla [1] instead. While dd will produce a sector-by-sector image of your medium (which can be terribly inefficient if you're using considerably less than 100% of its available space) Clonezilla is file system-aware for a number of common file systems and has built-in support for compression as well. It resembles the recently discontinued Norton Ghost this way but is fully FOSS. I normally run it…
http://www.sysresccd.org/System-tools
I've used the imaging tools on the boot cd a few times to clone/restore hosts a few times without any issues. Very handy.
Re: A snapshot of your computer with dd, pv and gzip - Part 1
#9Consider using Clonezilla [1] instead. While dd will produce a sector-by-sector image of your medium (which can be terribly inefficient if you're using considerably less than 100% of its available space) Clonezilla is file system-aware for a number of common file systems and has built-in support for compression as well. It resembles the recently discontinued Norton Ghost this way but is fully FOSS. I normally run it…
Re: A snapshot of your computer with dd, pv and gzip - Part 1
#10If you want to backup with this kind of technique, use partimage instead, and do so from a rescue CD. You need a quiescent filesystem for imaging, so it can't be under use by the running OS.