1833494 Members
2729 Online
110052 Solutions
New Discussion

log files in HP UX

 
SOLVED
Go to solution
Omprakash_2
Frequent Advisor

log files in HP UX

Hi,

Can someone pls tell me that where the log files entries located for tar backup (Tape Backup)???
4 REPLIES 4
George_Dodds
Honored Contributor

Re: log files in HP UX

If you are wanting to know what files are on the tape then run

tar -tvf /dev/rmt/0mn > /tmp/tar.log

and then more the tar.log
Johnson Punniyalingam
Honored Contributor

Re: log files in HP UX

Hi,

>>Can someone pls tell me that where the log files entries located for tar backup (Tape Backup)???>>

I am sorry, there is no such thing for "tar backup" unless you provide while to tar.

Eample:-

3 tar -cvf /dev/rmt/0mn /opt/app/oracle > /tmp/daily_backup.log

or

You need to write your own script to $LOGFILE to capture the logs.

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Suraj K Sankari
Honored Contributor
Solution

Re: log files in HP UX

Hi,

There is no log file will be create if you are using tar command but if you are using nohup with tar command then you can check the nohup.log

Suraj
Omprakash_2
Frequent Advisor

Re: log files in HP UX

Thanks a ton... problem fixed. (nohup command & tar -tvf helped)