自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Oracle邏輯備份中SH文件的實際操作

數(shù)據(jù)庫 Oracle
以下的文章主要是介紹Oracle邏輯備份中的SH文件的相關(guān)文件類型,本文主要講述的是相關(guān)文件類型的實際應(yīng)用,以下就是內(nèi)容的詳細(xì)介紹。

在Oracle邏輯備份的SH文件中可以分為完全備份的SH文件,還有累計備份的Oracle SH文件、以及增量備份的Oracle SH文件,以下的相關(guān)內(nèi)容就是對這些備份文件的實際操作的詳細(xì)描述,以下就是文章內(nèi)容。

Oracle邏輯備份的SH文件

完全備份的SH文件:exp_comp.sh

 

  1. rq=` date +"%m%d" `  
  2. su - Oracle -c "exp system/manager full=y inctype=complete file=/Oracle/export/db_comp$rq.dmp"  

 

累計備份的Oracle SH文件:exp_cumu.sh

 

  1. rq=` date +"%m%d" `  
  2. su - Oracle -c "exp system/manager full=y inctype=cumulative file=/Oracle/export/db_cumu$rq.dmp"  

 

增量備份的SH文件: exp_incr.sh

 

  1. rq=` date +"%m%d" `  
  2. su - Oracle -c "exp system/manager full=y inctype=incremental file=/Oracle/export/db_incr$rq.dmp"  

 

root用戶crontab文件

/var/spool/cron/crontabs/root增加以下內(nèi)容

 

0 2 1 * * /Oracle/exp_comp.sh

30 2 * * 0-5 /Oracle/exp_incr.sh

45 2 * * 6 /Oracle/exp_cumu.sh

當(dāng)然這個Oracle SH文件時間表可以根據(jù)不同的需求來改變的,這只是一個例子。

 

以上的相關(guān)內(nèi)容就是對Oracle SH文件的介紹,望你能有所收獲。

【編輯推薦】

  1. 把Oracle 字符串轉(zhuǎn)換成TIMESTAMP類型的方案
  2. Oracle函數(shù)to_char轉(zhuǎn)化成小數(shù)點的位數(shù)
  3. Oracle to_char()函數(shù)具有強(qiáng)大的功能
  4. 詳解Linux下Oracle的靜默安裝
  5. Oracle Java虛擬機(jī) JRockit 集成的實際應(yīng)用
責(zé)任編輯:佚名 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

2010-05-10 10:19:28

Oracle實戰(zhàn)RMA

2010-03-29 15:57:07

Oracle exp備

2010-04-06 10:11:11

Oracle備份

2010-03-31 16:11:00

Oracle啟動

2010-04-01 13:39:43

Oracle Name

2010-04-16 13:59:40

Oracle數(shù)據(jù)

2010-04-14 17:06:41

Oracle安裝路徑

2010-04-13 18:03:33

Oracle服務(wù)

2010-04-01 14:06:13

Oracle Name

2010-04-20 11:06:33

Oracle索引

2010-04-29 15:09:42

Oracle密碼文件

2010-04-01 16:06:08

Oracle修改表ow

2010-04-14 09:33:58

Oracle Spat

2010-04-06 08:58:27

Oracle job

2010-04-02 15:53:36

Oracle綁定變量

2010-04-02 13:34:33

Oracle DBA

2010-04-07 13:02:14

Oracle 存儲過程

2010-04-12 14:44:06

Oracle Impd

2010-06-09 11:40:32

MySQL SQL 語

2010-04-02 18:01:39

Oracle清理
點贊
收藏

51CTO技術(shù)棧公眾號