- 论坛徽章:
- 0
|
# ---------------------------------------------------------------------------
# Put output in <this file name>.out. Change as desired.
# Note: output directory requires write permission.
# ---------------------------------------------------------------------------
RMAN_LOG_FILE=/usr/openv/netbackup/scripts/hot_full_backup.out
# ---------------------------------------------------------------------------
# You may want to delete the output file so that backup information does
# not accumulate. If not, delete the following lines.
# ---------------------------------------------------------------------------
if [ -f "$RMAN_LOG_FILE" ]
then
rm -f "$RMAN_LOG_FILE"
fi
这一行就是你放log的地方!建议写成绝对路径,已经写相对路径的时候,发生过错误,最后发现是这里的问题! |
|