I have an oracle database on a server that contains more than one database, i'm connected to those databases using sqlDevelopper normaly. I want to export the database DB1. The string connection used in SqlDevelopper is :
user@//server:1530/DB1
user@//server:1533/DB2
user@//server:1534/DB3
The command i use to export the DB1 is :
exp user@//server:1530/DB1 file="C:\DB1.dmp" log="C:\DB1.log" rows=y owner=user
But it doesn't work, i have this message :
EXP-00056: Erreur ORACLE 6401 rencontré ORA-06401: NETCMN : désignation de lecteur non valide EXP-00000: Procédure d'export terminée avec erreur
How can I adjust the exp command to have the desired result?
expversions are you using? The 10g and 11g versions ofexpseem to recognise that 'easy connect' syntax, but the 9i version doesn't. (If you are on a later version than 9i, you should probably be usingexpdpin preference toexpanyway). If you are using 9iexpand can't use a later version then you probably need to use a TNS alias, defined in yourtnsnames.ora.BD1= (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = server) (PORT = 1530) ) ) (CONNECT_DATA = (SERVICE_NAME = DB1) ) )How can i use it now?