Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > ontape to filesystem
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 26th February 08:45
darren_jacobs@carmax.com
External User
 
Posts: 1
Default ontape to filesystem


Greetings,

I would like to use ontape to backup to a unix filesystem. Is there a
certain why the filesystem needs to be created to enable this or will I
need to use onbar. I'm currently using IDS 9.40FC2 on HPUX 11i V1and an
attempt to backup to a filesystem erros as seen below:

$ ontape -s -L 0

Please mount tape 1 on /usr/dbexport and press Return to continue ...
could not write archive tape.
sending to informix-list
  Reply With Quote


  sponsored links


2 26th February 08:45
murray wood \(ilist\)
External User
 
Posts: 1
Default ontape to filesystem


You need to create the file and have it with permissions 660, owner
informix:informix

TAPEDEV points to the file you are creating.

MW


sending to informix-list
  Reply With Quote
3 26th February 08:45
hariog
External User
 
Posts: 1
Default ontape to filesystem


As Murray rightly pointed out to create a file with correct owner and
permission, just to make it clear, see below:

# cd /usr/dbexport
# touch <file-name>
# chown informix:informix <file-name>
# chmod 660 <file-name>

Now modify $INFORMIXDIR/etc/$ONCONFIG and point this <file-name> to
TAPEDEV.

BTW, search this newsgroup to find my script to level0 to disk.

Hari
  Reply With Quote
4 26th February 08:45
colin dawson
External User
 
Posts: 1
Default ontape to filesystem


I think the "tape device" need to have 666 permission - same as a normal
tape device


Regards

Colin

There are 10 types of people in the world, those that understand binary and
those that don't

sending to informix-list
  Reply With Quote
5 26th February 08:46
darren_jacobs@carmax.com
External User
 
Posts: 1
Default ontape to filesystem


Thanks to all who responded. I greatly appreciate the help.

I guess I was brainfarting and attempting to write to a directory instead
of creating a file with 660.

"Murray Wood
\(IList\)"
<ifxmaillist@quan To
ta.co.nz> <Darren_Jacobs@carmax.com>,
Sent by: <informix-list@iiug.org>
owner-informix-li cc
st@iiug.org
Subject
RE: ontape to filesystem
09/06/2005 05:53
PM


You need to create the file and have it with permissions 660, owner
informix:informix

TAPEDEV points to the file you are creating.

MW


sending to informix-list
sending to informix-list
  Reply With Quote
6 26th February 08:46
jean sagi
External User
 
Posts: 1
Default ontape to filesystem


In 10 this theme is much improved than in 9.4


J.


Darren_Jacobs@carmax.com escribis:


sending to informix-list
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666