niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » SGI/IRIX » admin
Restore from tape
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
rb
*nix forums beginner


Joined: 01 Apr 2005
Posts: 11

PostPosted: Sun Nov 06, 2005 2:38 am    Post subject: Re: Restore from tape Reply with quote

peter@aldie.co.uk (Peter Ilieve) writes:

Quote:
In article <kx964ra4na2.fsf@panix5.panix.com>, rb <rb@panix.com> wrote:
I use an Octane with 6.5.22 - trying to use Restore to restore a file
from tape, I get the error:

/usr/sbin/Restore[96]: syntax error at line 126 : `}' unexpected

[...]

Quote:
I diffed the 6.5.22 and 6.5.28 versions of Restore and the
only difference is that the 6.5.22 one is missing a 'fi'
after line 101. Either manually add a line containing fi
or apply this patch:

Thank-you very much, that fixed it.
--
Back to top
Peter Ilieve
*nix forums beginner


Joined: 04 Nov 2005
Posts: 1

PostPosted: Fri Nov 04, 2005 1:04 pm    Post subject: Re: Restore from tape Reply with quote

In article <kx964ra4na2.fsf@panix5.panix.com>, rb <rb@panix.com> wrote:
Quote:
I use an Octane with 6.5.22 - trying to use Restore to restore a file
from tape, I get the error:

/usr/sbin/Restore[96]: syntax error at line 126 : `}' unexpected

...

I see that this error was fixed in Irix 6.5.26, to which I have no
access. Is there some way I can learn how to properly edit
/usr/sbin/Restore or otherwise get a working version?

I diffed the 6.5.22 and 6.5.28 versions of Restore and the
only difference is that the 6.5.22 one is missing a 'fi'
after line 101. Either manually add a line containing fi
or apply this patch:

*** Restore-6.5.22 Fri Nov 04 12:55:17 GMT 2005
--- Restore Fri Nov 04 12:55:31 GMT 2005
***************
*** 99,104 ****
--- 99,105 ----
dd if=$TP bs=256k count=1 > /tmp/$$type 2>/dev/null
else
rsh guest@$HN -n dd if=$TP bs=256k count=1 > /tmp/$$type 2>/dev/null
+ fi
LANG=C ttype="`file /tmp/$$type`"
case "$ttype" {
*bru*) echo Backup is a bru archive

--
Peter Ilieve peter@aldie.co.uk
Back to top
rb
*nix forums beginner


Joined: 01 Apr 2005
Posts: 11

PostPosted: Wed Nov 02, 2005 11:56 pm    Post subject: Restore from tape Reply with quote

I use an Octane with 6.5.22 - trying to use Restore to restore a file
from tape, I get the error:

/usr/sbin/Restore[96]: syntax error at line 126 : `}' unexpected

I fooled around trying to edit the file to make the error go away, but I
only create other errors - I am an end user, I don't know how to write
scripts.

I see that this error was fixed in Irix 6.5.26, to which I have no
access. Is there some way I can learn how to properly edit
/usr/sbin/Restore or otherwise get a working version?

Thank you very much for any help.
--
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 2:06 pm | All times are GMT
navigation Forum index » *nix » SGI/IRIX » admin
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Need help getting Sony DAT tape drive to work on Irix 6.5 trebor SGI/IRIX 1 Sun Apr 13, 2008 3:19 am
No new posts tape drive sharing shuklameeta@yahoo.co.in Solaris 6 Thu Jul 20, 2006 10:32 am
No new posts Restoring cluster from tape Andrew Raine Tru64 managers mail-list 0 Wed Jul 19, 2006 12:38 pm
No new posts Can I restore tablespaces(datafiles) to a new blank datab... kony Server 7 Tue Jul 18, 2006 3:28 pm
No new posts the incantation to restore the boot partition when winows... Dr. R. E. Hawkins FreeBSD 11 Sat Jul 15, 2006 12:09 am

MPAA | Online Advertising | Fast Loans | Mortgages | Money News
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.7945s ][ Queries: 20 (0.6983s) ][ GZIP on - Debug on ]