Re: Ontape Restore
Posted in 2009
On Jul 15, 5:45 am, Colin Dawson <cjd_1...@hotmail.com> wrote:
> All,
>
> I am archiving a database to disk using a script that does the 'Mount tape and Press enter' bits. Does anyone have a restore script that will do the same thing? I've checked in the IIUG Repository but didn't find anything.
>
> Regards
>
> Colin
>
> There are 10 types of people in the world, those that understand binary and those that don't
>
> _________________________________________________________________
> With Windows Live, you can organise, edit, and share your photos.http://clk.atdmt.com/UKM/go/134665338/direct/01/
What version of IDS and what OS.
Try this:
to backup:
#>ontape -s -L 0 -t STDIO | gzip -fc> /path/to/some/file
to restore
#>gunzip -cf /path/to/some/file | ontape -r -t STDIO
You could look at BACKUP AND RESTORE filters too if you want it to
look nicer
http://publib.boulder.ibm.com/infocenter/idshelp/v111/index.jsp