Subscribe

DFM 5.2 Protection Manager backup retention issue

 

Does anyone know why 'dfpm backup list' doesn't list all of the backups that are in the snapvault secondary volume that are listed with 'dfpm dataset snapshot list' ?

 

We discovered this when troubleshooting why snapshots older than the retention periods configured aren't getting deleted. I think that the two are related but I may be interpreting the output incorrectly.

 

Thanks,

Mark

 

Here's the information about the protection manager config and the command output I'm seeing:

 

I have a dataset with Primary and Backup nodes:

  • The Primary node has 19 volume root qtrees (/vol/volname/-)
  • The Backup node has a single volume

The protection policy uses a base policy of 'Remote backups only' i.e. Backup primary to secondary without local backups.

  • The Primary node has no local backup schedule configured
  • Primary data to Backup has a schedule of Daily @ 0400 Monday>Saturday, Weekly @ 0200 Sunday 
  • The Backup node has backup retention durations set to 6.0 Daily, 5.0 Weekly

 

 

>dfpm  dataset list

 

Id         Name                        Protection Policy           Provisioning Policy Application Policy          Storage Service

 

---------- --------------------------- --------------------------- ------------------- --------------------------- ---------------

 

104704     cc_snapvault_xen_shared     cc_snapvault_vol_xen_shared

 

 

 

 

 

>dfpm policy list

 

Id   Name                             Policy Type       Description

 

---- -------------------------------  ---------------   ----------------------------

 

104722 cc_snapvault_vol_xen_shared    Data Protection   Back up primary data to secondary without local backups

 

 

 

 

>dfpm policy node get cc_snapvault_vol_xen_shared

 

 

 

Node Id:                    1

 

Node Name:                  Primary data

 

Hourly Retention Count:     0

 

Hourly Retention Duration:  0

 

Daily Retention Count:      0

 

Daily Retention Duration:   0

 

Weekly Retention Count:     0

 

Weekly Retention Duration:  0

 

Monthly Retention Count:    0

 

Monthly Retention Duration: 0

 

Backup Script Path:

 

Backup Script Run As:

 

Failover Script Path:

 

Failover Script Run As:

 

Snapshot Schedule Id:       0

 

Snapshot Schedule Name:

 

Warning Lag Enabled:        No

 

Warning Lag Threshold:      129600

 

Error Lag Enabled:          No

 

Error Lag Threshold:        172800

 

 

 

Node Id:                    2

 

Node Name:                  Backup

 

Hourly Retention Count:     0

 

Hourly Retention Duration:  0

 

Daily Retention Count:      2

 

Daily Retention Duration:   518400 [equates to 6 days]

 

Weekly Retention Count:     2

 

Weekly Retention Duration:  3024000 [equates 35 days / 5 weeks]

 

Monthly Retention Count:    1

 

Monthly Retention Duration: 0

 

 

 

>dfpm backup list -m all 104704

 

Backup Id Backup Version        Retention Type Retention Duration (in seconds)   Availability Node Name            Description

 

Properties(Name=Value)

 

--------- --------------------- -------------- --------------------------------- ------------ -------------------- ------------

 

1214749 27 Sep 2014 04:00:06  daily          518400                            Full         Backup

 

1208432 20 Sep 2014 04:00:11  daily          518400                            Full         Backup

 

1182421 07 Sep 2014 02:00:05  weekly         3024000                           Full         Backup

 

1167412 31 Aug 2014 02:00:10  weekly         3024000                           Full         Backup

 

 

 

 

 

>dfpm dataset snapshot list cc_snapvault_xen_shared

 

Id   Name            Unique Id    Volume          Timestamp            Versioned  Dependencies    % of Total Blocks

 

---- --------------- ------------ --------------- -------------------- ---------- --------------- ----------

 

2171664583 2014-08-31_0200+0100_weekly_cc_snapvault_xen_shared_sv-dest-filer_vol_xen_shared_.-.rcstxen01_taxtech.RCSTXEN02.rcstxen0 1409455672   sv-dest-filer:/vol_xen_shared 31 Aug 2014 04:27:52 Yes        None            8%  (1%)

 

2182126863 2014-09-07_0200+0100_weekly_cc_snapvault_xen_shared_sv-dest-filer_vol_xen_shared_.-.rcstxen01_taxtech.RCSTXEN02.rcstxen0 1410057369   sv-dest-filer:/vol_xen_shared 07 Sep 2014 03:36:09 Yes        None            7%  (2%)

 

2196202031 2014-09-16_0400+0100_daily_cc_snapvault_xen_shared_sv-dest-filer_vol_xen_shared_.-.rcstxen01_taxtech.RCSTXEN02.rcstxen04 1410893649   sv-dest-filer:/vol_xen_shared 16 Sep 2014 19:54:09 No         None            5%  (2%)

 

2200903264 2014-09-21_0200+0100_weekly_cc_snapvault_xen_shared_sv-dest-filer_vol_xen_shared_.-.rcstxen01_taxtech.RCSTXEN02.rcstxen0 1411275802   sv-dest-filer:/vol_xen_shared 21 Sep 2014 06:03:22 No         None            3%  (1%)

 

2204771370 2014-09-25_0400+0100_daily_cc_snapvault_xen_shared_sv-dest-filer_vol_xen_shared_.-.rcstxen01_taxtech.RCSTXEN02.rcstxen04 1411633052   sv-dest-filer:/vol_xen_shared 25 Sep 2014 09:17:32 No         None            2%  (0%)

 

2205818296 2014-09-26_0400+0100_daily_cc_snapvault_xen_shared_sv-dest-filer_vol_xen_shared_.-.rcstxen01_taxtech.RCSTXEN02.rcstxen04 1411724988   sv-dest-filer:/vol_xen_shared 26 Sep 2014 10:49:48 No         None            2%  (0%)

 

2206586291 2014-09-27_0400+0100_daily_cc_snapvault_xen_shared_sv-dest-filer_vol_xen_shared_.-.rcstxen01_taxtech.RCSTXEN02.rcstxen04 1411807902   sv-dest-filer:/vol_xen_shared 27 Sep 2014 09:51:42 Yes        None            1%  (0%)

 

2207303157 2014-09-28_0200+0100_weekly_cc_snapvault_xen_shared_sv-dest-filer_vol_xen_shared_.-.rcstxen01_taxtech.RCSTXEN02.rcstxen0 1411889189   sv-dest-filer:/vol_xen_shared 28 Sep 2014 08:26:29 No         None            1%  (0%)

 

2208054153 2014-09-29_0400+0100_daily_cc_snapvault_xen_shared_sv-dest-filer_vol_xen_shared_.-.rcstxen01_taxtech.RCSTXEN02.rcstxen04 1411974206   sv-dest-filer:/vol_xen_shared 29 Sep 2014 08:03:26 No         None            1%  (0%)

 

2208997030 2014-09-30_0400+0100_daily_cc_snapvault_xen_shared_sv-dest-filer_vol_xen_shared_.-.rcstxen01_taxtech.RCSTXEN02.rcstxen04 1412060177   sv-dest-filer:/vol_xen_shared 30 Sep 2014 07:56:17 No         None            0%  (0%)

 

2209002748 sv-dest-filer(2017803008)_vol_xen_shared-base.131 1412079564   sv-dest-filer:/vol_xen_shared 30 Sep 2014 13:19:24 No         Busy - SnapVault 0%  (0%)

2209002747 2014-09-30_1319+0100_daily_cc_snapvault_xen_shared_sv-dest-filer_vol_xen_shared_.-.rcstxen01_taxtech.RCSTXEN02.rcstxen04 1412079571   sv-dest-filer:/vol_xen_shared 30 Sep 2014 13:19:31 Yes        None            0%  (0%)