Question

Disk retention while using Auxiliary copy

  • 8 August 2023
  • 4 replies
  • 213 views

Badge +4

Hi Team,

We are configuring Storage policies and including Tape for auxiliary.

Please find the below requirement.

 

Requirement 1: First storage policy will configure Hourly, Daily, Weekly, Monthly and Yearly schedule for disk and then only Weekly, monthly & Yearly will go to auxiliary copy of tape.

Requirement 2: Second storage policy will configure Monthly (keep disk) and that is no need for auxiliary copy.

Our Clarifications:

  1. Is it will configure separate schedules for Weekly, monthly & Yearly?
  2. After retention of backup, the data will delete from disk without auxiliary copy (requirement2).

Please advise.


4 replies

Userlevel 3
Badge +8

@Anandha K 

 

  1. Is it will configure separate schedules for Weekly, monthly & Yearly?


    There is no need to create separate schedules for each week, month and year.
    Depending on your requirements, you can go for synchronous copy or selective copy.

    In Synchronous Copy → You can add extended retention rules for weekly, monthly and yearly.
    or
    In Selective copy  → It allows you to copy a specific full backup job from its source copy.

    https://documentation.commvault.com/2022e/expert/13900_secondary_copies.html
     
  2. After retention of backup, the data will delete from disk without auxiliary copy (requirement2).

    Once the retention period is met, the data on the primary copy/disk will not age until it is copied to tape/secondary copy.

    When you run the forecast report, the reason for not aging is shown as NOT_COPIED.
     

 

Badge +4

@Nutan Pawar G,

Thanks for your update.

While creating the server plan we already enabled the extended rules, but our requirements is that when the schedules will execute the Weekly, monthly and yearly. Is it anywhere we can see the schedule options for those one.

For requirement2, some of the backup data don’t want move tape or secondary copies, in this case what is the recommendations will follow. 

 

Userlevel 3
Badge +8

@Anandha K

A separate Schedules will not be created/executed for Weekly, Monthly and Yearly when you add the extended retention rules.

 

Suppose you have a schedule that runs daily incremental and fulls in the weekend

As per the extended retention Rules:

The last full backup of the week will be picked for Weekly extended retention

The last full backup of the month will be picked for Month extended retention

Similarly, The last full backup of the Year will be picked for Yearly extended retention

 

For information on extended retention rules, please go through the BOL 

https://documentation.commvault.com/2022e/expert/11950_extended_retention_rules.html

=============

 

For requirement2, some of the backup data don’t want move tape or secondary copies, in this case what is the recommendations will follow. 

 

You can simply remove the client associations form the secondary copy or Right-click the selected jobs and then click Do Not Copy to prevent these jobs from being copied to the disk library

 

Userlevel 4
Badge +10

Hi Anandha,

 

I think we are mixing to different concepts here. Scheduling Backups (Schedule Policies) and Primary/Aux Copies (Storage policies).

 

All subclients (contents of a particular Client selected to be backed up) will be assigned to a particular Storage Policy, by default formed by a single Primary Copy (your first backup location).

This will not trigger backups unless you manually run them OR configure a Schedule Policy to run them.

 

When you create an Auxiliary Copy location within a Storage Policy, this is just a secondary place to move all, or a fraction of the jobs available within the Primary Copy to a different place. You will not schedule clients to run backups against an Auxiliary Copy.

What you do is select whether you want to copy all the contents of the Primary Copy in to this Aux Copy (Synchronous Copy), or just certain full backups (Selective Copy) - Further information available in documentation;

https://documentation.commvault.com/2022e/expert/13900_secondary_copies.html

 

Once again, jobs will not move automatically between your Primary Copy and Auxiliary Copy unless you run a manual Aux Copy job OR Schedule the Aux Copy job to run regularly

 

To answer your questions:

Is it will configure separate schedules for Weekly, monthly & Yearly?

You will configure a Schedule Policy that you will assigned to the subclients. Within the Schedule Policy you will configure your require backups (Fulls, Incrementals...) and their pattern (daily, weekly, monthly...)

There are many, many options and over a myriad combinations depending on your needs, I would recommend you to check our documentation in Scheduling to get a better understanding of this feature and its capabilities;

https://documentation.commvault.com/2022e/expert/6630_scheduling_overview.html

 

After retention of backup, the data will delete from disk without auxiliary copy (requirement2).

As Nutan has mentioned, we have a security mechanism that will not delete a job from the Primary Copy if the Application notices the job should have been moved to an Auxiliary Copy but the operation has not been completed yet.

You will need to be careful, since not regularly copying jobs to Aux Copy will not delete them from the Primary Location and be retained pass their configured retention, which may lead to Storage exhaustion in your Primary backup location.

Once the job is copied in the Aux Copy, it will be deleted from the Primary location once retention is reached.

Reply