Asmcmd /DATA backup


bash-3.2$ ps -afe | grep smon

 oracle 19016 1 0 Jun 20 ? 5:41 asm_smon_+ASM1

 oracle 16578 1 0 Sep 15 ? 23:57 ora_smon_ANARDB1

 oracle 3713 21935 0 19:37:34 pts/1 0:00 grep smon

 root 5429 1 0 Oct 01 ? 12061:59 /u02/app/oracle/product/grid/db_1/bin/osysmond.bin

bash-3.2$

bash-3.2$ . oraenv

ORACLE_SID = [ANARDB1] ? +ASM1

The Oracle base remains unchanged with value /u01/app/oracle

bash-3.2$

bash-3.2$ asmcmd

ASMCMD> ls -a

WARNING:option 'a' is deprecated for 'ls'

please use 'absolutepath'

DATA/

FRA/

ASMCMD> ls -la

WARNING:option 'a' is deprecated for 'ls'

please use 'absolutepath'

State Type Rebal Name

MOUNTED EXTERN N DATA/

MOUNTED EXTERN N FRA/

ASMCMD> ls

DATA/

FRA/

ASMCMD> cd DA*

ASMCMD> ls

ANARDB/

ANARDB-scan/

ASMCMD> md_backup DATA

Disk group metadata to be backed up: DATA

Disk group metadata to be backed up: FRA

Current alias directory path: ANARDB

Current alias directory path: ANARDB/PARAMETERFILE

Current alias directory path: ANARDB/AUTOBACKUP

Current alias directory path: ANARDB/DATAFILE

Current alias directory path: ANARDB/ONLINELOG

Current alias directory path: ANARDB/CHANGETRACKING

Current alias directory path: ANARDB/AUTOBACKUP/2013_09_15

Current alias directory path: ANARDB/CONTROLFILE

Current alias directory path: ANARDB-scan/ASMPARAMETERFILE

Current alias directory path: ANARDB/FLASHBACK

Current alias directory path: ANARDB-scan

Current alias directory path: ANARDB/TEMPFILE

Current alias directory path: ANARDB-scan/OCRFILE

Current alias directory path: ANARDB/ARCHIVELOG/2013_11_20

Current alias directory path: ANARDB/ARCHIVELOG

Current alias directory path: ANARDB/ARCHIVELOG/2013_11_21

Current alias directory path: ANARDB

ASMCMD>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: