I've been playiung around with dump and it seems to have worked.
I needed to backup the contents of a device, ie, /dev/hda2, rather than an
actual directory.
Only qualm I have about dump is it likes to talk to tapes; I needed to dump
to a single file -- which it can do -- but if the args to -B and -b aren't
good it'll need more than one file.
Tar would not have worked because, again, I needed to backup the contents of
a device (in this case, a parition) and I don't think tar can do that. If
it can tar devices please enlighten me; I've read through the tar info but
haven't come across anything useful for anything other than plain
files/dirs.
----- Original Message -----
From: "Michael Salmon"
To:
Sent: 07 February 2000, Monday 14:19
Subject: Re: [SLE] backing up a partition
| Keith Warno wrote:
| >
| > Hello list.
| >
| > Anyone have an idea on how to backup the contents of a _partition_? I'm
| > thinking maybe I could use dd but I'm not sure.
| >
| > For example, I would like to backup everything that resides on
/dev/hda2.
| >
| > Ideas/suggestions much appreciated, as always.
|
| You could use dd but that is an unusual choice. The usual ones are tar,
| cpio and dump. Cpio and tar have the advantage of working with any file
| system but I believe that they still have problems with long file names.
| Dump is probably most effective, after all that is what it was designed
| to do but it is restricted to a single file system type e.g. dumpe2fs.
|
| If you want the result to be a file system rather than a file then
| perhaps the rsync might be of interest.
|
| /Michael
|
| --
| To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com
| For additional commands send e-mail to suse-linux-e-help@suse.com
| Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
|
|
--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com
For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/