NetWorker: How to read Data Domain statistics for a NetWorker save set
Summary: Use mminfo to extract deduplication statistics for a NetWorker save set on a Data Domain; the output follows version:cloneid:backup:pre‑compression:post‑compression and shows deduplicate compression process. ...
Instructions
The NetWorker media database stores the metadata for a NetWorker save set. This metadata includes the deduplication (dedupe) statistics for the save sets written to Data Domain devices.
There are two ways to display detailed deduplication statistics for a save set from the NetWorker media database:
mminfo -q ssid=save-set-id -S
mminfo -q ssid=save-set-id -r attrs
How to read the Data Domain dedup statistics:
<version>:<cloneid>:<backup size>:<pre local compression size>:<post local compression size>
For Example:
On the NetWorker server:
# mminfo -q "ssid=3190711499" -r "ssid,sumsize,totalsize" ssid size total 3190711499 49 MB 50655224 # mminfo -q "ssid=3190711499" -S ssid=3190711499 savetime=10/03/2014 10:02:55 AM (1412326975) vm-lego-231:/etc *ss data domain backup cloneid: 1412326975; *ss data domain dedup statistics: "v1:1412326975:50823364:1625378:738007";
On the Data Domain:
# filesys show compression "/data/col1/vm-lego-121/onetwoone/82/42/f7e023b6-00000006-be2e64cb-542e64cb-00435000-637ca656" Total files: 1; bytes/storage_used: 68.3 Original Bytes: 50,824,052 - raw bytes Globally Compressed: 1,626,066 - pre_lc_size Locally Compressed: 738,201 - post_lc_size Meta-data: 5,528
For this save set:
cloneid : 1412326975 backup size : 50823364 pre local-compression size : 1625378 post local-compression size : 738007
The Data Domain performs inline deduplication which accounts for the difference between the initial backup size and the 'pre local-compression size' also known as the 'Globally Compressed' size. This deduped data is then compressed.
For a complete explanation of this process, refer to the following article: Data Domain: Understanding Data Domain Compression