LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   nohup running rman commands (https://www.linuxquestions.org/questions/linux-server-73/nohup-running-rman-commands-4175492190/)

bdby 01-22-2014 02:33 PM

nohup running rman commands
 
Hi Everyone,

I am working in a dev environment and need to kickoff backups in the evening when no one is around.

I have the following script

nohup rman target / log=pearl.log @pearl_bk_script &

The script is in the bin directory where the rman executable is and also the peral log file. I verified that the script runs via a different method.

Can anyone see anything wrong with my syntax? Also I would like to know of a command that would help me monitor this process. Right now I am using the following

ps -ef | grep rman

and it returns the following:

rman target /

Are there any errors that you can see?

Thanks in advance for your help in this matter.

al

Old_Brewer 02-03-2014 06:40 AM

Quote:

Originally Posted by bdby (Post 5103108)
Hi Everyone,

I am working in a dev environment and need to kickoff backups in the evening when no one is around.

I have the following script

nohup rman target / log=pearl.log @pearl_bk_script &

The script is in the bin directory where the rman executable is and also the peral log file. I verified that the script runs via a different method.

Can anyone see anything wrong with my syntax? Also I would like to know of a command that would help me monitor this process. Right now I am using the following

ps -ef | grep rman

and it returns the following:

rman target /

Are there any errors that you can see?

Thanks in advance for your help in this matter.

al

I have a few general thoughts. Have you tried using the full path to the command?
Have you thought about using the cron command, or installing it if it is not on your release? If you read up on the cron command, here is a tip: Crontab > new.. Then edit new, and save new. I'm a bit rusty on the crontab command, but I can find my notes if you want help.

bdby 02-03-2014 07:13 AM

nohup
 
Hi Old_brewer,

Yes I tried full paths also. This is not an urgent matter, I had put it on the side for now because I have other issues to take care of right now. It will be worked later when I get to that point. I appreciate you getting back to me though.

Regards,


All times are GMT -5. The time now is 09:47 AM.