顯示具有 commvault 標籤的文章。 顯示所有文章
顯示具有 commvault 標籤的文章。 顯示所有文章

2026/01/06

commvault Oracle 資料庫還原 看不到資料表

  環境:

用commvault 備份Oracle 資料庫,要還原時,在裡面都只看到dbf檔,無法顯示裡面的資料表。


解決過程:

commvault 備份Oracle 資料庫的設定,如果沒勾選"啟用表格瀏覽",就看不到裡面的資料表,這邊的表格,就是指資料表Table的意思。



如果沒有勾選這個功能,還原就會變的很麻煩

1. 沒啟用 Enable Table Browse 

若您過去的備份沒有啟用此功能,當有人誤刪資料時:

  • 還原邏輯: 您無法在 Commvault 介面看到「表」的清單,只能看到「資料庫」。

  • 必須全機還原: 您必須像現在一樣選擇 RMAN Duplicate DB,把整個資料庫(數百 GB 或 TB)還原,變成一個資料庫。

  • 手動撈取: 您得自己連進資料庫,下 SQL 或用 expdp 撈出那張表,再手動匯入回 。

  • 缺點: 極度消耗 磁碟空間,且還原時間很長(因為要搬動所有資料檔)。


2. 啟用 Enable Table Browse 後的差別 (未來的狀況)

如果您現在勾選並完成了一次新的完整備份:

  • 還原邏輯: 在「瀏覽」視窗切換到 Table View,您可以直接看到裡面的所有使用者與資料表清單。

  • 精準還原: 您只需要勾選「被誤刪的那張表」。

  • 自動化輔助實例: Commvault 會自動在Staging Path 建立一個「最小化」的臨時實例。它只會還原必要的系統檔案和該表所在的 Tablespace,而不是整個資料庫。

  • 優點: 節省大量磁碟空間(可能只需還原 10% 的資料量),且 Commvault 會自動完成匯出與匯入的動作。


下面這篇文件有更仔細的說明
https://itnoesis.com/2020/09/20/oracle-rac-table-restore-using-commvault/


Environment:

When using Commvault to back up an Oracle database, during restore operations only .dbf files are visible, and the tables inside the database cannot be displayed.


Resolution Process:

In the Commvault Oracle database backup settings, if “Enable Table Browse” is not selected, database tables will not be visible.
Here, “Table” refers to database tables.

If this option is not enabled, restoration becomes very complicated.


1. Without enabling Enable Table Browse

If past backups were performed without this option enabled and a table is accidentally deleted:

  • Restore logic:
    You cannot see a list of tables in the Commvault interface. You can only see the database as a whole.

  • Full database restore required:
    You must perform an RMAN Duplicate DB, restoring the entire database (hundreds of GBs or even TBs) as a separate database instance.

  • Manual data extraction:
    You must manually connect to the database, run SQL queries, or use expdp to export the required table, then manually import it back.

  • Drawbacks:
    Extremely high disk space consumption and very long restore times, since all data files must be restored.


2. Difference after enabling Enable Table Browse (future scenario)

If you enable this option now and complete a new full backup:

  • Restore logic:
    In the Browse window, switch to Table View, and you can directly see all users and their tables.

  • Precise restore:
    You only need to select the specific table that was accidentally deleted.

  • Automated auxiliary instance:
    Commvault will automatically create a minimal temporary instance in the Staging Path.
    It restores only the required system files and the tablespace containing the selected table, rather than the entire database.

  • Advantages:
    Significant disk space savings (possibly restoring only around 10% of the data), and Commvault automatically handles the export and import process.


The following article provides a more detailed explanation:
https://itnoesis.com/2020/09/20/oracle-rac-table-restore-using-commvault/


2025/10/28

commvault Auxiliary Copy輔助複製的工作記錄查詢

 commvault 平常備份的記錄,都可以從用戶端電腦裡面去點選。

但Auxiliary Copy輔助複製的工作記錄查詢卻不在裡面,要先去排程策略,找到輔助複製的排程,從排從去查看工作記錄。

2025/10/01

redhat 備份虛擬機還原開機後出現錯誤 fsck.ext3: memory allocation failed while retrying to read bitmaps for /p1

 一台redhat 備份虛擬機,在還原到其他硬體,開機後出現錯誤
fsck.ext3: memory allocation failed while retrying to read bitmaps for /p1 
an error occurred during the file system check dropping you to a shell the system will reboot when you leave the shell
這時就先去查/p1是掛在哪個硬碟後,用root密碼登入,執行下列指令
fsck -y /dev/sda1
完成後在執行 reboot,就可以正常進入到系統了。

2025/04/08

COMMVAULT備份工作失敗-錯誤碼: [32:399]

主機在意外當機後,有一個備份工作一直無法正常運作,會出現下列錯誤

錯誤碼: [32:399] 描述: Deduplication Database (DDB) access path [D:\xxx_dedup]

 on MediaAgent [commvault] is offline for Storage Policy Copy [VMBackup_Policy / xxx ]. 

Offline Reason: The active DDB of current storage policy copy is not available to use. 請啟動重複數據刪除DB重建作業。

查了一下原廠網站說明,我們就是因為ddb程序意外中斷的關係造成這個問題。

對照下面的解決方法,我們必預要手動執行復原 Deduplication Database的工作 。




方法就是從"儲存資源"->"DeDup引擎",找到執行失敗的策略,去"所有工作",裡面有個"復原存放區",執行這個工作。







2021/08/12

Commvault 還原 ESXI 虛擬機失敗 錯誤碼91:35 找不到新建立的虛擬機

 為了做一些測試,把一台ASUS的工作站裝了ESXI 6.7後,然後將Commvault備份的虛擬機要還原到這台工作站上,還原過程都正常,等資料全部都還原的差不多,到最後卻都會錯誤,錯誤碼是91:35 找不到新建立的虛擬機,還有VM was not found











試了兩三次都這樣,後來就把工作站改裝ESXI 6.5試試,也一樣。

這時後開始懷疑是不是備份有問題,所以直接還原在原本的ESXI伺服器上,卻都沒問題。

最後就把工作站再降級裝ESXI 6.0,就還原成功了,搞死人了。

後來有發現另一個更簡單的方式,就是如果還原失敗,先把commvault的服務重開,重開完再還原一次,也可以解決。

網站上根本查不到這種錯誤的相關訊息,還好自己有找出原因。



When attempting to restore a virtual machine (VM) using Commvault to an ASUS workstation running ESXi 6.7, you encountered an error with the code 91:35 stating that the newly created VM could not be found. The error message also mentioned that the VM was not found.

You tried multiple attempts, including downgrading the ESXi version to 6.5, but the issue persisted. However, when restoring the VM directly to the original ESXi server, there were no problems.

Eventually, you downgraded the workstation to ESXi 6.0, and the restore was successful, which was a puzzling situation.

Later, you discovered a simpler workaround: if the restore fails, restarting the Commvault service and attempting the restore again resolves the issue.

It seems that there is no relevant information about this specific error available on the website, but fortunately, you were able to identify the cause on your own.

2021/08/11

Commvault 服務重啟

 Commvault服務如果要重啟,就先找到Commvault Process Manager







裡面有一個服務的頁籤,最下面有三個鈕,可以做Commvault服務的啟用/關閉/重啟。

在重啟的過程,會看到相關服務慢慢一個一個變成關閉的圖示,要等一下。




























To restart the Commvault service, follow these steps:

Locate the Commvault Process Manager. This can usually be found in the Commvault software interface.

Within the Commvault Process Manager, navigate to the "Services" tab.

At the bottom of the tab, you will find three buttons that allow you to enable, disable, or restart the Commvault services.

Click on the "Restart" button to initiate the restart process.

During the restart process, you will observe the related services gradually transitioning to a closed icon. It may take some time for all services to close before the restart is complete.

2021/01/27

commvault 還原檔案失敗 "23:10 Error while reading pipeline buffer from MediaAgent"

 在用commvault還原虛擬機內的檔案時,只還原小量的檔案都正常,但要還原比較大的資料夾,裡面檔案較多的話,就會失敗,出現 "23:10  Error while reading pipeline buffer from MediaAgent"


跟上一篇說的一樣,就先把commvault服務重啟在試一次,有時後就沒問題了,不然就只能小量小量的還原了。

commvault 還原失敗 無法顯示虛擬機磁碟內的檔案 0x80070306 failed to enumerate items

 用commvault備份虛擬機時,是可以直接還原虛擬機內的檔案,像是還原裡面的word,excel,pdf之類的。

在還原的設定中,要先把虛擬機磁碟的內容展開,顯示裡面的檔案,才能勾選做還原,但在展開時失敗了,出現" 0x80070306 failed to enumerate items",看不到裡面有什麼檔案。

這時後只要把commvault的服務重啟就好了。



2020/11/25

commvault 備份虛擬機出現錯誤 Unable to quiesce guest file system during snapshot creation

 用commvault在備份一台新建esxi上的虛擬機,都會出現"Unable to quiesce guest file system during snapshot creation",原因就是該台虛擬機沒裝vmtool的關係,把vmtool裝上去就不會再出現這個錯誤了。

2020/11/03

commvault 備份免費版的vmware 虛擬機~失敗

廠商有說免費版的vmware虛擬機是無法備份的,但還是想試試看。

結果在設定時,都沒問題,以為是廠商搞錯了,結果備份執行時,一開始也正常,但沒多久就跳錯誤訊息了,果然只能備份付費版的。

 描述: Unable to create a virtual machine snapshot of [vm001]. [Current license or ESXi version prohibits execution of the requested operation. Snapshot creation attempt took [00:00:01]] Please check the virtual machine snapshot tree.

2020/11/02

netapp 檔案備份容量超過在系統佔用的空間

 在netapp上有切一區來做共用檔案存放,在系統上用,已佔用了2TB。

但在用備份軟體備份時,備份的檔案容量卻顯示有3TB的容量,怎麼會多了1TB。

原來是因為netapp上有開啟了dedup的功能,所以在netapp上實際佔用的容量,會比所有檔案的原始大小還少。

但備份程式在做的時後,是備份這些共用檔案原始的大小,所以才會有這些差異。




2020/10/16

commvault虛擬機備份失敗" Insufficient free space available to create a snapshot of virtual machine "

 如果用commvault在備份虛擬機出現"Insufficient free space available to create a snapshot of virtual machine "的失敗錯誤訊息,是因為備份工作裡,有一個設定是檢查虛擬機所在的存放區的可用空間,低於所設定的比例就會失敗,這是可以調整的,就在備份工作的內容裡面,如果存放區夠大的話,可以把比例調低一點,預設是低於10%就不能備份。



2020/10/15

commvault 重新備份失敗的部份

 用commvault備份時,如果是一個工作裡面包了許多台主機要備份,可能會有只有其中某一台備份失敗,其他成功的狀況。

這時可以整個工作重跑,其他成功的部份也再備份一次,也可以針對失敗的部份重跑就好,操作如下圖。

就是在該工作選擇備份,然後在進階裡選擇只備份失敗的就行了。




2020/07/08

Commvault alert "System has reached within 80 percent limit of [Protected Virtual Machines] usage"

Commvault主機上突然收到一個警告,內容是"System has reached within 80 percent limit of [Protected Virtual Machines] usage."







查了一下,原來是系統內本來就有設定授權使用達80%就會發出警告,授權使用多少,可以在"Licensing and Registration"裡面看。


2020/02/03

COMMVAULT刪除用戶端電腦

COMMVAULT裡有一些主機已經不需要備份或還原了,想要把他移除。
但是直接在該台電腦按右鍵,是不會有移除或刪除的選項,沒辦法直接刪掉。
必須先做釋放授權的動作,才會出現刪除的選項可選。




就是把這授權新增到右邊的釋放清單中就行了。























有授權跟沒授權的顏色也會不同,灰色的就是可以刪了。







COMMVAULT 警示訊息 發送間隔

使用COMMVAULT 備份時,若備份工作卡住,都會發送警告訊息的郵件,但警告訊息發送的頻率有點高,有時後是假日發生,但上班日時,警告訊息會有好幾十封,這個是可以調整的。
預設是1小時發送一次,可以把間隔調長一點。



2019/09/26

Commvault 還原 ESXI虛擬機失敗 [Current license or ESXi version prohibits execution of the requested operation.]

最近在Commvault上要測試,把ESXI上備份的虛擬機,還原到其他台ESXI,看看還原出來的虛擬機會不會有問題。
所以就先去下找同版本的ESXI,裝在一台閒置的伺服器上,剛裝好,可以有60天的評估試用期,還原的時後都ok。
後來在還原其他台虛擬機時,出現了[Current license or ESXi version prohibits execution of the requested operation.]的錯誤,很奇怪。
後來才發現,因為自己把免費版的序號輸入後,將ESXI從試用版轉換成免費版的授權,所以就會還原失敗,這失敗的訊息應該是來自VMWARE,不是Commvault的問題,後來就把ESXI重裝,繼續採用試用版授權,就可以還原了。