ok good.
are you saying your /var/tmp/mytape.pipe file is corrupted?is it still a zero length pipe?
if not, you need to recreate it before you start the restore:
rm -f /var/tmp/mytape.pipe
mknod /var/tmp/mytape.pipe p
and is TAPEDEV still set to /var/tmp/mytape.pipe?
onstat...
have never used:
TAPESIZE 0
it might seem obvious, but you could try changing it to something like
TAPESIZE 4000000 #(i.e. 4gb)
which is what we used to get over a similar problem...
hi - simple, you do a similar thing in reverse...
uncompress -c /var/tmp/mytapebackup.Z > /var/tmp/mytape.pipe &
nothing will happen until you start reading from the mytape.pipe file, i.e. until you kick off your ontape -r command.
you can always run onstat -D -r from another window to...
hi, try making your tape device a named pipe. this can be read by cat in the background, piped to compress and written out to another file, i.e.
mknod /var/tmp/mytape.pipe p # create named pipe
edit onconfig file or change TAPEDEV via onmonitor to /var/tmp/mytape.pipe and
change tape blocksize...
oh by the way, don't forget these parameters in your onconfig file:
ALARMPROGRAM /users/informix/infdir/etc/log_full.sh
# Alarm program path
# Log Archive Tape Device
LTAPEDEV /inf_archives/logs/logical.log # Log tape device path
hi basshead,
sorry about the late response, i've been on hols for virtually the whole of august!
anyway the script is at work, however i'll be back to work on monday so i'll post it for you then.
cheers
jack, if you're still interested i can send you a script i wrote which archives the logs for you to disk (and also compresses them).
you can then back them up to tape in your own time.
the idea is you replace informix's log_full.sh script (rename it to log_full.sh.bac) with the one i'll send...
Thanks for your responses, guys - i figured maybe i'd forgotten a specifier, however to make myself a bit clearer, maschwa i don't actually know what the output is going to be... sorry, i should have said 999,999,999 was just an example of some numeric output - i didn't want to re-invent the...
hi suhaimi,
would it help to take a directory listing of the remote system into a temporary file and read that to decide which files to pull over?
alternatively you could of course, use remsh with awk or cat and send the output to pg on the local machine, then save it to a local file i.e...
hey ratbs75, this is probably stating the obvious., but have you tried the manual pages for unix commands (e.g. man du, man lp etc from the shell prompt)?
They give you an explanation and options for each command and usually contain a few working examples.
If your system does not have manual...
hi,
run "top".
the column in the top left hand corner displays the number of processors starting from 0: eg if you see 0 1 2 3 that means you have 4 processors.
can't remember off-hand if the other info you require is displayed but i'll check when i'm back in work on monday and send...
Hi Cakiwi,
Many thanks for your script example. It worked perfectly and at lightening speed, as is always impressive with awk.
Could you enlighten me on a couple of syntaxy type things though, pls... i.e. NR > 1
(I thought NR started at 0 at input?)
and how come we need to print after END i.e...
Hi all you awk whizzos., wonder if you can help me out here, I would appreciate it immensely!
Here is a sample of my file:
12345678 23
12345678 10
33333333 1
444444444 3
444444444 6
Left column is the account number, right column is number of books.
What I am trying to do is get awk to add...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.