01-23-04 10:11 PM
Goran Larsson wrote:quote:
>
> In article <3FFC4960.F89653A2@maine.edu>,
> Steve Cousins <steve.cousins@maine.edu> wrote:
>
>
> No. he did the dump on the Linux machine to a Sun tape drive and then
> tried to use ufsrestore on the Sun to read the tape:
You are correct! Sorry about that.
quote:
> | # dd bs=64k if=/dev/rmt/0n | ufsrestore vibf 64k -
As Goran says, this will not work. ufsrestoring a linux dump is not
going to work due to different file systems as well as endian problems.
quote:
> |
> | Verify volume and initialize maps
> | Note: doing byte swapping
> | Dump date: Tue Jan 06 13:49:05 2004
> | Dumped from: the epoch
> | Level 0 dump of / (dir usr) on linuxbox:/dev/hda1
> | Label: /
> | Extract directories from tape
> | Segmentation Fault - core dumped
>
> He runs ufsrestore on something that has a different byte order than
> the Linux machine (note the "Note: doing byte swapping" from ufsrestore)
> and as restore is called restore in Linux and ufsrestore in Solaris he
> certainly is not trying to do the restore on the Linux machine, most likel
y
> on he is doing it on the Sun.
>
>
> It will not work. The dump format is not portable between implementations.
As I (mis)read it the concept was ok. Of course, you can prove anything
if you start with a false premise :*)
quote:
>
> I would never trust GNU tar to do any of my backups. It is seriously
> broken and is not compatible with what the POSIX standard has to say
> about tar.
What do you use to backup linux machines? cpio? pax? There were a couple
of versions of Gnu tar that did have some problems but I've used Gnu tar
backups of some sort or another for many years with good results. I
primarily use it now because of the ability to do incremental backups,
which AFAIK can't be done with the non-Gnu tar.
Steve
________________________________________
_____________________
Steve Cousins Email: cousins@umit.maine.edu
Research Associate Phone: (207) 581-4302
Ocean Modeling Group
School of Marine Sciences 208 Libby Hall,
University of Maine Orono ME 04469
[ Post a follow-up to this message ]
|