In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Step 1: Install OracleXE
Step 2: Configure D:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\tnsnames.ora
Configure database connections in the tnsnames.ora file:
sxpt190 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xx.xx.xxx)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = service_name) ) )
Part 3: Writing Export Scripts
echo start backup 59 database set y=%date:~0,4%set m=%date:~5,2%set d=%date:~8,2%exp system/pwd@xxx.xx.xx.xxx/service_name file= local file path\test1_%y%_%m%_%d%.dmp log= local file zero\test1_%y%_%m%_%d%.log owner= user name echo backup complete
Description:
exp: export command
system: User name
ddit123456RDD1: Password
101.200.89.190: IP where the database is located
xlh_sx_pt: service_name of database
file: database backup dmp file
log: backup log file
owner: the current user backed up; if not specified, all user data is backed up
Save as bat file, double-click to verify file export.
Step 4: Create a Timed Task
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.