Red Hat Training
A Red Hat training course is available for Red Hat Satellite
3.2. 由備份復原
Red Hat Network 資料庫控制可用來從備份復原嵌入的資料庫。
過程 3.2. 由備份復原嵌入的資料庫
- 透過
stop
指令來停用 RHN 衛星伺服器:rhn-satellite stop
- 切換為 Oracle 使用者,並透過
db-control
工具程式來復原備份:su - oracle db-control restore [directory]
請將 directory 取代為包含備份的位置的絕對路徑。這項程序將會在復原資料庫之前,驗證備份的內容。這項程序將會花上幾分鐘。 - 切換回 root 使用者,並啟動衛星伺服器:
exit rhn-satellite start
- 無論您是要備份外部或嵌入的資料庫,當衛星伺服器由備份復原時,您應執行下列指令,以在下次
rhn-search
服務啟用時,排程搜尋索引的重新建立:/etc/init.d/rhn-search cleanindex