RE: [SLUG] backup and restore with dd?

From: Seth Hollen (seth@hollen.org)
Date: Sun Dec 08 2002 - 18:44:49 EST


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I agree on the rsync. It can be a little confusing to setup (I haven't played with it in a while).

But it's a great tool for syncing backups

- -----Original Message-----
From: slug@lists.nks.net [mailto:slug@lists.nks.net] On Behalf Of Paul M Foster
Sent: Sunday, December 08, 2002 12:37 PM
To: slug@nks.net
Subject: Re: [SLUG] backup and restore with dd?

On Sat, Dec 07, 2002 at 10:18:05PM -0500, Greg Schmidt wrote:

>
> I was thinking that I should be able to backup and restore an entire
> partion with dd, but I thought I should run this idea by the list for
> a sanity check before I actually try it. Something like:
>
> dd if=/dev/hdb1 of=~/partition.img
>

Here's the problem with dd: it will happily copy over bad sectors. And then, of course, your backup's useless. Rsync is a better alternative, and can be used to "update" a backup already in place. But rsync is a file-by-file, not an image backup. Avoid tar, as bad spots (for whatever
reason) in the middle of a tar archive will invalidate the rest of the archive.

Paul

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQA/AwUBPfPZKWd7RWIwEvp1EQJ/ggCgzXpJXDWeFvZZQPSjBmjz5yWgg8UAoIBy
S8+DV2eZwLbyKqFxv/5z/JTs
=+Mw0
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:53:29 EDT