Oracle database export and import .dmp backup files

The import and export of this article is to export it from the database of one computer and then import it into the database of another computer.

1. Export backup files

Open the cmd command window and execute the command exp
Insert image description here

2. Import backup files

First, create a user in the database with the same name as the original database and assign user permissions.
1. Log in to the sys super administrator user and create a user
sys user login in SQLPlus: sys as sysdbaInsert image description here

create user username identified by password;
grant connect,resource,dba to username;
the authorization here is to grant the highest authority dba authority to the user.

2. Start importing the backup file
and execute the command imp in the cmd terminal.
Insert image description here

Guess you like

Origin blog.csdn.net/qq_42182034/article/details/108690665
Recommended