Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where are the backup logs?

Status
Not open for further replies.

Acosta

MIS
Dec 1, 2000
61
MX
Hi

I created a crontab file and is doing a filesystem backup. I want to know if it is running succesfully or not. where can I find the log files for this process?

Thanks!
 
There are none by default. You'll need to create your own logs. If none are specified, su to the "daemon" user and look at the mail. Often times cron output goes there.

Bill.
 
How could I create those log files?
Thanks!
 
Acosta,

In you crontab line add to the end:

> /tmp/backup.log 2>&1

This will take the ouput of standard out and standard error and put this into the backup.log file.

Cheers

PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 


PSD is right if you want to have a log of what happened during your script...
you need to add the > logfile to your script...

There is also /usr/lib/cron/logs that has the log as to whether the cron job
started.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top