1827894 Members
1689 Online
109969 Solutions
New Discussion

script question

 
SOLVED
Go to solution
Sang Cheon Han
Occasional Contributor

script question

hi friend
how about question?
:nohup remsh [server name] -l root -n "rm - f /var/opt/ignite/logs/makrec.log* ;/opt/ignite/bin/make_recovery -A -v -d /dev/rmt/0m" > /omniscript/util/Ignite/Ignite_
[server name].log 2>&1 &
- 2>&1 what is mean?
i want to answer!
3 REPLIES 3
Con O'Kelly
Honored Contributor
Solution

Re: script question

Hi

Basically it means that you are running a remote shell to a system to execute an ignite backup as user root.
Prior to the backup the old ignite logfiles are removed. Then an ignite backup of the system (root vol group)is started.

A point to note is that make_recovery is an old command.
You should use:
make_tape_recovery -I -v -x inc_entire=vg00

Hope that helps.

Cheers
Con
Sang Cheon Han
Occasional Contributor

Re: script question

hi friend
how about question?
:nohup remsh [server name] -l root -n "rm - f /var/opt/ignite/logs/makrec.log* ;/opt/ignite/bin/make_recovery -A -v -d /dev/rmt/0m" > /omniscript/util/Ignite/Ignite_
[server name].log 2>&1 &


- 2>&1 what is mean?
i want to answer!
Con O'Kelly
Honored Contributor

Re: script question

Hi

Sorry didn't read your question carefully.
2>&1 means direct all standard output and errors to the named logfile.

Cheers
Con