Export oracle
Comprobamos las bases de datos qe están activas:
root@malx1003 # bash
root@malx1003 # ps -ef|grep pmon
oracapocci 18641 0 Jan 23 ? 678:00 ora_pmon_capocci01
oravisor 23411 1 0 Jan 23 ? 82:46 ora_pmon_visorocci01
Nos conectamos con el usuario que ha levantado la base dedatos, en este caso es oracapocci:
root@malx1003 # su - oracapocci
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
Hacemos una prueba de conexion, exportando lasvariables de entorno y accediendo a la base de datos:
malx1003:/export/home/oracapocci $ export ORACLE_SID=capocci01
malx1003:/export/home/oracapocci $ sqlplus "/as sysdba"SQL*Plus: Release 10.2.0.4.0 - Production on Jue Jul 29 09:45:44 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise EditionRelease 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select * from v$instance;
INSTANCE_NUMBER INSTANCE_NAME--------------- ----------------
HOST_NAME
----------------------------------------------------------------
VERSION STARTUP_ STATUS PAR THREAD# ARCHIVELOG_SWITCH_WAIT
----------------- -------- ------------ --- ---------- ------- ---------------
LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
---------- -------------------- ------------------ --------- ---
1 capocci01
malx1003
10.2.0.4.0 23/01/10 OPEN NO 1 STARTED
ALLOWED NO ACTIVEPRIMARY_INSTANCE NORMAL NO
SQL> exit
Realizacion de los export, de las tablas solicitadas:
TABLAS TAMAÑO OCCIDENTAL TAMAÑO ORIENTAL...
Regístrate para leer el documento completo.