简体   繁体   中英

Connect with RMAN to database by ip address

After rman target / I am connected to my local database, however I would like to connect to database to which I have credentials - ip, port, username, password (in general to which I can connect via SQLDeveloper). Is it possible through RMAN?

To use rman on a 'remote' server, you need to have oracle client installed (not the instant one, the full one). And then you can configure an entry in the tnsnames.ora file to point to which db you want. You can do, the same if you have a full db install on your system, just add an alias to the remote db.

It isn't shown in the documentation , but you can use 'easy connect' syntax:

rman target user@hostname:port/servicename

or if you don't want to be prompted for the password (less secure!):

rman target user/password@hostname:port/servicename

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM