公司要求口令强化,在修改sys密码后nbu的.sh脚本connect备份归档的sys/passwd也随之修改修改后每个业务备份均失败, 每次备份到归档那里就结束报密码无效,疑惑备份脚本密码也同步修改了,怎么还报密码无效.想到修改sys密码在数据库节点1上修改,尝试在节点2也执行 alter user sys identified by xxxx: 执行修改节点2密码.修改后重新执行备份成功.…
rman备份脚本: #!/bin/bashsource /home/oracle/.bash_profile rman target / << EOFrun {allocate channel ch1 type disk;allocate channel ch2 type disk;backup incremental level 0 database include current controlfile plus archivelog delete all input;release ch…