1
rman generate script set until time
source link: https://www.askmaclean.com/archives/rman-generate-script-set-until-time.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
rman generate script set until time
echo 'run {' > test2.cmd echo 'allocate channel t1' >> test2.cmd echo 'set until time="to_date('\'''`date "+%Y-%m-%d %H:%M:%S"`''\'','\''YYYY-MM-DD hh24:mi:ss'\'')";' >> test2.cmd echo 'set newname for database to '+datadg';' >> test2.cmd echo 'restore database;' >> test2.cmd echo 'switch datafile all;' >> test2.cmd echo 'recover database;' >> test2.cmd echo 'release channel t1;' >> test2.cmd echo '}' >> test2.cmd
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK