oracle database export (exp) / import (imp)

Single table backup (the structure of the premise library is the same)
Export:
EXP username / password @ connection string GRANTS = Y TABLES = (stu) file = C: \ FILENAME.DMP
Import:
IMP username / password @ connection string IGNORE = Y TABLES = (stu) FULL = N file = C: \ filename.DMP where stu is the table name you want 
Full library guide 
Export:
EXP username / password @ connection string FULL = Y file = C: \ filename.DMP 
Import:
IMP username / password @ connection string FULL = Y file = C: \ filename.DMP 
Single user export / import
Export
  exp  system/manager@JKW  file=*.dmp owner=(system,sys....)
Import:

imp  system / test @ orcl (username / password @ mark--current user) fromuser = (user of data file) touser = (current user) file = * .dmp log = *. log;


Published 20 original articles · Likes6 · Visits 10,000+

Guess you like

Origin blog.csdn.net/weixin_36662608/article/details/53669345