Getting Started
Data Aging is the process of removing old data from secondary storage to allow the associated media to be reused for future backups.
You can change the retention of your data based on your needs.
Setting Up the Basic Retention Rule
-
From the CommCell Browser, expand Policies > Storage Policies > storage_policy.
-
Right-click the appropriate storage policy copy, and then click the Properties.
-
In the Copy Properties dialog box, on the Retention tab, under Basic Retention Rule for All Backups, click the Retain For.
-
Enter number of days to retain the data.
-
Enter number of cycles to retain the data.
-
-
Click OK.
-
In the Confirm Basic Retention dialog box, click Yes.
-
On the ribbon in the CommCell Console, on the Reports tab, click Forecast, and then click Run.
-
The Data Retention Forecast and Compliance report displays the data to be pruned when a data aging job is run.
Note:
-
To ensure only data intended for aging is actually aged, it is important to identify the data that will be aged based on the retention rules you have configured. Hence, ensure this report includes only the data you intend to age.
If necessary, fine-tune your rules so that only the intended data is aged.
-
Running the Data Aging Job
-
From the CommCell Console, right click the CommServe node, click All Tasks > Data Aging.
-
In the Data Aging Options dialog box, in the Job Initiation area, define whether the data aging job runs immediately or if it will be scheduled.
-
Click OK.
If you chose to run the job immediately, the data aging job starts now.
If you chose to run the job according to a schedule, the data aging job runs according to the schedule that you defined.
After data aging job is run, the data will be pruned from the storage.
Extended Retention Rules
Extended retention rules allow you to keep specific full (or synthetic full) backups for an additional period.
Extended retention rules can be used in the following circumstances:
-
If you have a single drive tape library
-
If you want to create a hierarchical retention scheme (grandfather-father-son tape rotation)
Extended retention rules allow you to define three additional "extended" retention periods for full (or synthetic full) backups. For example:
-
You may want to retain your weekly full backups for 30 days.
-
You may want to retain your monthly full backup for 90 days.
-
You may want to retain your yearly full backup for 365 days.
A backup job will be selected for extended retention based on its start time. For example: If a backup job starts at 11:55 pm on August 31st and ends at 1 am on September 1st, then it will be selected as the last full backup for the month of August and will be picked up for extended retention.
In all other cases, we recommend you use Auxiliary Copy for extended storage since it creates another physical copy of the data, thereby reducing the risk of data loss due to media failure.
Setting Up the Extended Retention Rules
Use the following steps for setting up the extended retention rules:
-
Right-click the storage policy copy and click Properties.
-
Click the Retention tab.
-
Set the basic retention rules by clicking Retain for and entering the number of days and cycles appropriate for your organization.
-
Set the extended retention rules as follows:
-
Click the For button.
-
Enter the number of Days Total to retain the backup.
-
Click the Keep drop-down list, and select the desired backup criteria (for example, Monthly Full, Weekly Full).
-
Click the Grace Days drop-down list and select the number of days (for example, 2).
This allows you to consider the additional number of days along with the Extended Retention rule. For example, if the last full backup job fails with in the defined extended retention criteria, then the next full backup job that ran in the specified grace days will be selected for retention.
-
-
Repeat Step 4 to configure additional extended retention.
-
Click OK.
For more information, see Data Aging - Advanced.
Data Aging for Transaction, Archive, and Logical Log Backups
Log Backups (transaction, archive, or logical logs) are not considered part of the backup cycle. Therefore, storage policy cycle retention parameters do not apply to them. However, log backups may be linked to data backup operations, which can affect their retention as follows:
-
A full backup job containing data and logs will follow the standard data aging rules provided both data and logs use the same storage policy. In case data and logs use different storage policies and if the retention period of log storage policy is less than the data storage policy, then the log backup jobs will age as per data aging rules for log backups. It is recommended to keep the retention periods for data storage policy and log storage policy same.
-
The logs part is linked to data in a full backup job containing data and logs.
These are considered as linked or chained logs and are not aged until the linked data is aged. In addition, the following is also considered:
-
Logs that need to be copied to secondary copies will not be aged both on primary and non-primary source copy
-
Logs that exist only on one copy will be aged when they are older than the oldest data
-
Logs that exist on multiple copies will be aged according to copy retention days
-
Logs that exist on multiple copies with the longest retention days will be aged when they are older than the oldest data
-
Partial, disabled logs will be aged when they are older than the oldest data
-
-
A log backup run after a full backup job is not linked to the previous full backup job.
As this is an unlinked log backup, by default, this will follow the unique data aging rules for log backups. If you want such log backups to be aged according to the defined days retention rule for the data, you can do so as follows:
-
From the CommCell Console, click the Storage tab.
-
Click the Media Management icon.
-
Click the Data Aging tab.
-
In the Prune All Database Agent Logs Only By Days Retention Rule, type 1 to enable pruning for all database agent logs based on the days retention.
-
Click OK.
-