From fe263826368aa191d8ce016a21002082d25c2a75 Mon Sep 17 00:00:00 2001 From: Lion <92991903+myberserk@users.noreply.github.com> Date: Fri, 13 Oct 2023 11:04:53 +0900 Subject: [PATCH] Create oracle_start.sh oracle service start --- BR-Surebackup-Remote-executeCommand/oracle_start.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 BR-Surebackup-Remote-executeCommand/oracle_start.sh diff --git a/BR-Surebackup-Remote-executeCommand/oracle_start.sh b/BR-Surebackup-Remote-executeCommand/oracle_start.sh new file mode 100644 index 0000000..26a1199 --- /dev/null +++ b/BR-Surebackup-Remote-executeCommand/oracle_start.sh @@ -0,0 +1,9 @@ +###/veeam/oracle_start.sh### +#!/bin/bash +su - oracle << EOF +sqlplus "/as sysdba" << SQL +startup; +exit +SQL +lsnrctl start +EOF