Amanda-Users

Re: AIX guru's please

2005-02-02 17:43:12
Subject: Re: AIX guru's please
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Wed, 2 Feb 2005 17:37:06 -0500
On Wednesday 02 February 2005 12:20, Jon LaBadie wrote:
>Kevin Alford started a thread about losing his amanda server
>crashing, needing to rebuild it, not having indexes and
>needing to do a restore.  The system details pre-crash were
>Amanda 2.4.2p2 on AIX 5.1 ML6
>
>When Kevin wasn't getting very far I started an email dialog
>with him, but we have hit a stumbling point and could use
>some input from people who know AIX better than I.
>
>Working with the first dump file on the tape, it has the
>following information in the header:
>
>AMANDA: FILE 20041208 lightning /saa_dev lev 1 comp .gz program
> /usr/sbin/backup To restore, position tape at start of file and
> run:
>        dd if=<tape> bs=32k skip=1 | /usr/bin/gzip -dc |
> usr/sbin/restore -f... -

That '...' is a placeholder for more options Jon, kill them dead.
In the first place, the I believe sequence they occur in is even 
wrong.  Normally the -f is followed by a filename, but the - after 
the dots means use stdin from a pipe or whatever.

>"lightning" is the amanda server, so this is a local backup.
>
>I see the "dump" program is IBM ?proprietary? program called
> 'backup' !! Is that program dump compatible?  From my long ago AIX
> experience I recall that 'restore' is the appropriate recovery
> program for 'backup'. But what arguments should be used, i.e. what
> might be needed for "..."?

While that *could* be true, I've always heard that restore was the 
inverse of dump, the dump unpacker if you will.  Backup is something 
else and I'm not sure what the recovery tool for 'backup' is, never 
used it on one of these systems.

>I just love AIX!  Kevin extracted the dump file, minus the amanda
> header. He then tried to use gzip -dc on it to create an
> uncompressed copy. The copy was 3.5x larger, so obviously it had
> been gzip'ped.
>
>However, when Kevin ran the "file" command on both the original and
>on the uncompressed files, AIX's file command reported both as
> being:
>
> data or International text
>
>Nothing about either being a gzip or a backup file.

I wonder if the AIX file command looks at the file perms, and they 
could maybe force a mistake?

>Kevin sent me the leading part of the gunzipped file and on my
> Solaris system, the file command reports it is a "ufsdump archive".
>
>Does AIX even have the ability to work with UFS type file systems?
>If so, are ufsdump/ufsrestore part of an add-on package?  Kevin
>reports his rebuilt system has neither program.  May not matter.
>Based on the amanda header, I suspect that backup/restore are the
>appropriate pair of programs, not ufsdump/ufsrestore.
>
>Do other AIX amanda installations use backup/restore?
>
>If so, what are appropriate options for a restore from an backup
>format file already on disk.  Maybe both for TOC and for extraction.
>We can worry about from tape later.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.32% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.

<Prev in Thread] Current Thread [Next in Thread>