Skip to content

Commit abf82e6

Browse files
Merge pull request #233938 from msaenzbosupport/patch-11
[Doc-A-Thon] Update code block and remove $
2 parents 6a9b9f2 + c5066c1 commit abf82e6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/virtual-machines/workloads/oracle/oracle-database-backup-azure-backup.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Perform the following steps for each database on the VM:
8484
1. Before you connect, you need to set the environment variable ORACLE_SID by running the `oraenv` script which will prompt you to enter the ORACLE_SID name:
8585

8686
```bash
87-
$ . oraenv
87+
. oraenv
8888
```
8989

9090
1. Add the Azure Files share as an additional database archive log file destination
@@ -775,7 +775,7 @@ Later in this article, you'll learn how to test the recovery process. Before you
775775
>
776776

777777
```bash
778-
$ scp vmoracle19c_xxxxxx_xxxxxx_xxxxxx.py azureuser@<publicIpAddress>:/tmp
778+
scp vmoracle19c_xxxxxx_xxxxxx_xxxxxx.py azureuser@<publicIpAddress>:/tmp
779779
```
780780

781781
# [Azure CLI](#tab/azure-cli)
@@ -808,7 +808,7 @@ Replace myRecoveryPointName with the name of the recovery point that you obtaine
808808

809809
The script is downloaded and a password is displayed, as in the following example:
810810

811-
```bash
811+
```output
812812
File downloaded: vmoracle19c_eus_4598131610710119312_456133188157_6931c635931f402eb543ee554e1cf06f102c6fc513d933.py. Use password c4487e40c760d29
813813
```
814814

@@ -821,7 +821,7 @@ The following example shows how you to use a secure copy (scp) command to move t
821821
>
822822

823823
```bash
824-
$ scp vmoracle19c_xxxxxx_xxxxxx_xxxxxx.py azureuser@<publicIpAddress>:/tmp
824+
scp vmoracle19c_xxxxxx_xxxxxx_xxxxxx.py azureuser@<publicIpAddress>:/tmp
825825
```
826826
---
827827

@@ -897,7 +897,7 @@ $ scp vmoracle19c_xxxxxx_xxxxxx_xxxxxx.py azureuser@<publicIpAddress>:/tmp
897897
898898
To exit, enter **q**, and then search for the mounted volumes. To create a list of the added volumes, at a command prompt, enter **df -h**.
899899
900-
```
900+
```output
901901
[root@vmoracle19c restore]# df -h
902902
Filesystem Size Used Avail Use% Mounted on
903903
devtmpfs 3.8G 0 3.8G 0% /dev
@@ -942,8 +942,8 @@ Now the database has been restored you must recover the database. Please follow
942942
1. You may find that the instance is running as the auto start has attempted to start the database on VM boot. However the database requires recovery and is likely to be at mount stage only, so a preparatory shutdown is run first followed by starting to mount stage.
943943
944944
```bash
945-
$ sudo su - oracle
946-
$ sqlplus / as sysdba
945+
sudo su - oracle
946+
sqlplus / as sysdba
947947
SQL> shutdown immediate
948948
SQL> startup mount
949949
```
@@ -1052,7 +1052,7 @@ Now the database has been restored you must recover the database. Please follow
10521052
```
10531053
Copy the logfile path and file name for the CURRENT online log, in this example it is `/u02/oradata/ORATEST1/redo01.log`. Switch back to the ssh session running the recover command, input the logfile information and press return:
10541054
1055-
```bash
1055+
```output
10561056
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
10571057
/u02/oradata/ORATEST1/redo01.log
10581058
```

0 commit comments

Comments
 (0)