FW: Ontape and Shell Script
Posted in 1997
On Wednesday, March 05, 1997 1:16 AM Con Woodall wrote:
} On Tue, 4 Mar 1997, Terron Wright wrote:
}> I am trying to run in a shell script and I wondering if there is a =
way
}> to make ontape skip the mount tape message. ......
}>=20
} Terron,
} ...SNIP...
} run_arc.sh
} ontape -s -L 0 < /inf_dir/bin/archive.input \\
} >> /inf_dir/error/archive.out 2>> /object/error/archive.out
}=20
} By running it with
}=20
} nohup /inf_dir/bin/run_arc.sh &
}=20
} You also free up the terminal you submit the archive on.
} And you could put the running statment in a shell aas well.
}=20
} We are currently on aix.3.2.5 with 7.11.uc1. od the Dynamic Server.
}=20
} I would be cautious in trying to do this unattended. The absence of
} a mounted tape usually causes a large number of error messages to
} the archive.out file and they will go on until some human stops it=20
} or you fill some file system
If the data volume to be backed up is larger than the tape volume, you =
will have problem as ontape will actually rewind the tape and write from =
the beginning again!
I think that we have similar discussion couple weeks ago.
Sean.