On Tue, 28 Jan 2003, Steven W. Orr wrote: > =>You are correct in the fact that dd copies all of the blocks in the > =>filesystem(gzip fixes this problem) and that you cannot restore onto a > =>different filesystem type. > => > =>But you are incorrect with everything else. You can query the backup for > =>content, you can restore single files, and you don't have to restore onto > =>the same disk - as long as the replacement disk of equal or greater size. > =>I do these three things all the time with dd. Let me know if you want to > =>see how. > > I'm asking :-)
Aiight - back up a block device like this (the filesystem is irrelevant since dd just creates a raw copy): dd if=/dev/hda1 of=backup.img To access the backup for query or for restoring a single file: mount -o loop backup.img /mnt Then to restore the entire filesystem (as long as /dev/hdd4 has equal or more space than /dev/hda1): dd if=backup.img of=/dev/hdd4 _______________________________________________ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
