oralce database backup

Database backup pump data ( https://www.cnblogs.com/ys-wuhan/p/6050272.html ):
 
Considerations when using Data Pump EXPDP and IMPDP should be noted:
EXP and IMP is a client utility, they can either use the client can also be used on the server side.
EXPDP and IMPDP are server-side utilities, they can only use the ORACLE server can not be used on the client side.
IMP EXP applies only to documents exported, the export file does not apply to EXPDP; IMPDP applies only to documents EXPDP exported EXP does not apply to the export file.
When expdp or impdp command can be temporarily indicate username / password @ instance name as the identity, and then enter the prompts, such as:
expdp schemas=scott dumpfile=expdp.dmp DIRECTORY=dir;
 
According to user backup data
[1] into the database server command window (original mode)
    sqlplus /nolog
 
    conn  / as sysdba
 
    Export: exp username / password @ database service name file = D: \ test.dmp
    
    Import: imp username / password @ database name fromuser = original user name touser = new user name flie = D: \ test.dmp
 
Use (exp -help, imp -help) to help document viewing
[2] database servers into the command window (the new way)
    sqlplus /nolog
 
    conn  / as sysdba
 
    Export: expdp username / username @ database service name DIRECTORY = dir dumpfile expdp.dmp logfile = expdp.log =
 
    Import: impdp username / username @ database service name DIRECTORY = dir dumpfile expdp.dmp schema = User name logfile = impdp.log =

Guess you like

Origin www.cnblogs.com/zyanrong/p/11315252.html