Sunday, 10 December 2017

Offline (Cold) backup (User Managed) practical

Offline (Cold) backup:-


$ export ORACLE_SID=prod

$ sqlplus / as sysdba
SQL> startup

SQL> select file_name,tablespace_name from dba_data_files;

SQL> select member from v$logfile;

SQL> select name from v$controlfile;

SQL> shut immediate
SQL> exit

~]$ mkdir offlinebkp

~]$ cd offlinebkp/

offlinebkp]$ pwd

offlinebkp]$ cd

~]$ cd prod

prod]$ cp -rvf *.dbf /u01/home/offlinebkp

prod]$ cp -rvf *.log /u01/home/offlinebkp

prod]$ cp -rvf *.ctl /u01/home/offlinebkp

prod]$ cd
~]$ cd offlinebkp/


VIEWS:-
dba_data_files;

v$logfile;

v$controlfile;

No comments:

Post a Comment

relink a single executable (binary file) using ADADMIN utility

In this post, I would like to write something useful for patching and fine-tuning. When times, we have to relink a particular binary file ...