Professional Documents
Culture Documents
Quick overview
Requires tablespaces to be put into hotbackup mode (if youre doing it right)
Shell scripting failures:
# Clean out the last backup
rm -rf $LAST_BACKUP_FILE_BASE
Increase CONTROL_FILE_RECORD_KEEP_TIME
Defaults to 7 days
FILE_NAME
--------------1.txt
2.txt
cmdb_login.sql
connecttest.sql
norun.sql
nosysdba.sql
oraexecute.txt
pat_list.txt
privs.sql
runit.cmd
temp.sql
tns.txt
tnsnames.ora
tns_orig.txt
list
list
list
list
list
list
list
list
backup summary;
backup by file;
backup;
expired backup;
backup of tablespace SYSTEM;
backup of datafile 3;
archivelog all;
backup of archivelog all;
CROSSCHECK
CATALOG
Examples:
crosscheck backup;
catalog start with /tmp/restored/;
PROD1
TEST1
Catalog Into
Oracle 10g
Must have the backup pieces written to a shared
location or copy them manually if duplicating to a
different machine
DUPLICATE TARGET DATABASE TO TEST1;
Oracle 11g
New FROM ACTIVE DATABASE clause
Not as easy to restart if interrupted
Uses file copies so doesnt take into account
compression and backup optimization
Statspack Data
Automatic Workload Repository
Feature Usage Views
High Water Mark Views
Cleanup if desired:
dbms_swrf_internal.unregister_database
wri$_dbu_usage_sample
wri$_dbu_feature_usage
wri$_dbu_high_water_mark
http://www.oracle.com/technetwork/topics/cloud/down
loads/index.html
Readme:
http://www.oracle.com/technetwork/topics/cloud/osbw
s-readme-083624.html
http://rman.s3.amazonaws.com/osbws_install.jar
Password files
OraInventory and oraInst.loc
Networking files:
sqlnet.ora tnsnames.ora ldap.ora listener.ora
Oratab file
Startup/Shutdown scripts:
/etc/inittab, /etc/init.d/dbora
Simon.Pane@first4db.com