-
Hi folks!
I'm running oracle 8.0. on a NT platform. I have a scripts to backup the entire system. What i have to add on the script for
shutdown Oracle and listener before backup and to startup oracle and listener after backup automatically.
Regards
Alex
In god i trust
-
Hi Alex,
i don't know what kind of script you have for taking backup.
any open the script and make the entry for shutdown the database is
svrmgrl << EOF
connect internal
shutdown immediate
EOF
and for stopping the listener use
lsnrctl stop
after you take the back up then use
svrmgrl << EOF
connect internal
startup
EOF
lsnrctl start
or tell me how did u write the script i mean how the logic u used. If you need anthing let me know.
regards
san
-
Hi sanjaygk!
This is working on the Unix but on NT doesn't.It gives the following error "<< was unexpected at this time".
How should be look like on the NT environment?
Regards
Alexandre
In god i trust
-
I feel u need to set the environment variables.
like path =C:\Oracle\bin
usually all executables will stay at this location.
or i don't know exact path of ur oracle bin executables installed so make this entry in your script.
add the path and make export the environment variables.
Sanjay
san
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|