ONTAP Discussions

CDOT - System configuration backup - Number of Backups to keep for schedule

gillesschmidt
3,976 Views

Hi,

 

Currently, we are in version 8.3.1P2, the config backups are uploaded to IIS 8.5 but the retention does not working,

, number of backups to keep does not match the values set are not respected, locally or on my folder from IIS server.

 

It's probably normal on IIS but seems to be not correct on the cluster (locally).

 

Anyone has an idea ?

 

Thx in advance,

Gilles

  

4 REPLIES 4

patrickv
3,911 Views

Hi Gilles,

 

Can you give an example? 

You can change sensitive information to for example Node1 etc, but leave the time stamps.

 

Can you give us an example ?

Which Backups are currently stored on the webserver, which are on the cluster?

 

What's your current retention plan?

  •  configuration backup show 
  • job show-cluster -name *BACKUP*

 

 

Thanks,

 

Patrick von Bredow  

Senior Technical Support Engineer

gillesschmidt
3,899 Views

Hi Patrick,

 

I'm currently on holiday, so i have not all information to provide . Maybe, a part is enough :

 

The schedule are following :

 

numbackups1 : keep 1

numbackups2: keep 3

numbackups3 : keep 1

 

Why more than1 backup file on webserver or locally are kept for for schedule "numbacks1" or "numbackups3".

 

Because  no files are deleted for numbackups1 and 3, a manual backup delete has to be applied on webserver and node.

 

Because i did find no way to apply 0 on schedule, does a possibility to skip numbacks1 qnd numbqcks2 and just keep one daily backup ?

 

Thx in advance,

Gilles

gillesschmidt
3,864 Views

Hello Patrick,

 

Thx for your help.

 

Here is my answer (in red) regarding your questions :

 

Can you give an example? 

You can change sensitive information to for example Node1 etc, but leave the time stamps.

 

Cluster::*> system configuration backup show
Node Backup Name Time Size
--------- ----------------------------------------- ------------------ -----
Node1 Cluster.8hour.2016-04-18.10_15_05.7z 04/18 10:15:05 61.38MB
Node1 Cluster.8hour.2016-04-18.18_15_00.7z 04/18 18:15:00 62.91MB
Node1 Cluster.daily.2016-04-15.03_01_04.7z 04/15 03:01:04 59.59MB
Node1 Cluster.daily.2016-04-16.03_01_01.7z 04/16 03:01:01 58.86MB
Node1 Cluster.daily.2016-04-17.03_01_00.7z 04/17 03:01:00 60.82MB
Node1 Cluster.daily.2016-04-18.03_01_00.7z 04/18 03:01:00 61.37MB
Node1 Cluster.weekly.2016-04-10.00_15_05.7z 04/10 00:15:05 57.75MB
Node1 Cluster.weekly.2016-04-17.00_15_00.7z 04/17 00:15:00 61.16MB
Node2 Cluster.8hour.2016-04-18.18_15_00.7z 04/18 18:15:00 62.91MB
Node2 Cluster.daily.2016-04-16.03_01_01.7z 04/16 03:01:01 58.86MB
Node2 Cluster.daily.2016-04-17.03_01_00.7z 04/17 03:01:00 60.82MB
Node2 Cluster.daily.2016-04-18.03_01_00.7z 04/18 03:01:00 61.37MB
Node2 Cluster.weekly.2016-04-17.00_15_00.7z 04/17 00:15:00 61.16MB
13 entries were displayed.

 

It seems to be good for Node2 but not for Node1

 

Can you give us an example ?

Which Backups are currently stored on the webserver

All backup are currently stored on the webserver, but i think that  a script should be done to remove old backup files, no ?

 

Which are on the cluster?

Our problem is on the cluster where the backup files have to be currently manually removed.

 

 

What's your current retention plan?

  •  configuration backup show 
  • job show-cluster -name *BACKUP*

 

Cluster::*> system configuration backup settings show -instance
Backup Destination URL: http://webserver/bkpfolder/
Username for Destination: domain\user
Schedule 1: 8hour
Number of Backups to Keep for Schedule 1: 1
Schedule 2: daily
Number of Backups to Keep for Schedule 2: 3
Schedule 3: weekly
Number of Backups to Keep for Schedule 3: 1

 

Cluster::*> job show-cluster -name *BACKUP*
Owning
Job ID Name Vserver Node State
------ -------------------- ---------- -------------- -----------
6 CLUSTER BACKUP AUTO 8hour
S1L2V1 - Queued
Description: Cluster Backup Job
7 CLUSTER BACKUP AUTO daily
S1L2V1 - Queued
Description: Cluster Backup Job
8 CLUSTER BACKUP AUTO weekly
S1L2V1 - Queued
Description: Cluster Backup Job
3 entries were displayed.

 

 

 

Best regards,

Gilles

LukasZachoval
3,028 Views

Hello Gilles.

Did you manage to solve this issue? I am experiencing exactly same issue on our few netapps and I am not able to find any solution on web.

Thank you in advance.

Public