JensD
ADSM.ORG Senior Member
A few years ago I started this thread asking for advice on how to perform out-of-sync full backups without affecting MS SQL LSN (and the normal SQL backups tanken with TDP for SQL).
I've now been running those monthly full backups for a little over a year where each month a new copy of the database is placed in the same file as the previous months copy.
Everything looked fine (and still does), and I get regular backups that I have veryfied on a few occations (firedrill and even once for real) and they are placed in the right managementclass.
However I'm seeing that my expiration settings of the copygroup is not doing what I expect it to do.
The copygroup looks like this:
The 378 days equals 54 weeks after which I want the oldest inactive version of the file to be expired and removed.
Looking at the available files (output from cmdline with -pick and -inactive) I get this:
Note that the full filename has been cut short - but it's the same filename for all items in the list.
The above output is from today March 11th 2015.
As I understand the settings in the copygroup the 14th file should have expired and have been removed a while back - since there are 402 days between February 2nd 2014 and today.
I'd also expect the 13th file to be removed 7 days from now - from March 4th 2014 to now we have 372 days.
What setting in the copygroup should I change for this to happen, but still retain all inactive versions of an existing file within the last 378 days?
I'm not interested in what happens when a file in this copygroup has been deleted form the client node - we handle archival by other means than this copygroup and managementclass.
I've now been running those monthly full backups for a little over a year where each month a new copy of the database is placed in the same file as the previous months copy.
Everything looked fine (and still does), and I get regular backups that I have veryfied on a few occations (firedrill and even once for real) and they are placed in the right managementclass.
However I'm seeing that my expiration settings of the copygroup is not doing what I expect it to do.
The copygroup looks like this:
Code:
Policy Domain Name: STANDARD
Policy Set Name: STANDARD
Mgmt Class Name: MONTHLY_FULL_SQL
Copy Group Name: STANDARD
Copy Group Type: Backup
Versions Data Exists: No Limit
Versions Data Deleted: No Limit
Retain Extra Versions: 378
Retain Only Version: 378
Copy Mode: Modified
Copy Serialization: Shared Static
Copy Frequency: 0
Copy Destination: FULLFILESQL_SEQ_BU
Table of Contents (TOC) Destination:
Last Update by (administrator): ADMIN
Last Update Date/Time: 10/16/2014 10:02:02
Managing profile:
Changes Pending: No
The 378 days equals 54 weeks after which I want the oldest inactive version of the file to be expired and removed.
Looking at the available files (output from cmdline with -pick and -inactive) I get this:
Code:
TSM Scrollable PICK Window - Restore
# Backup Date/Time File Size A/I File
------------------------------------------------------------------------------------
1. | 03/01/2015 02:41:36 254.67 GB A \\surveydb4\e$\FullSQLBackup\xact_HEAD-
2. | 02/02/2015 01:20:30 247.04 GB I \\surveydb4\e$\FullSQLBackup\xact_HEAD-
3. | 01/05/2015 01:24:26 238.49 GB I \\surveydb4\e$\FullSQLBackup\xact_HEAD-
4. | 12/20/2014 01:16:43 236.99 GB I \\surveydb4\e$\FullSQLBackup\xact_HEAD-
5. | 11/02/2014 01:08:42 217.50 GB I \\surveydb4\e$\FullSQLBackup\xact_HEAD-
6. | 10/05/2014 01:16:42 210.00 GB I \\surveydb4\e$\FullSQLBackup\xact_HEAD-
7. | 09/07/2014 02:18:04 204.45 GB I \\surveydb4\e$\FullSQLBackup\xact_HEAD-
8. | 08/03/2014 01:11:57 199.18 GB I \\surveydb4\e$\FullSQLBackup\xact_HEAD-
9. | 07/06/2014 02:11:15 197.81 GB I \\surveydb4\e$\FullSQLBackup\xact_HEAD-
10. | 06/01/2014 02:02:07 194.66 GB I \\surveydb4\e$\FullSQLBackup\xact_HEAD-
11. | 05/04/2014 02:06:04 193.69 GB I \\surveydb4\e$\FullSQLBackup\xact_HEAD-
12. | 04/06/2014 01:22:13 207.45 GB I \\surveydb4\e$\FullSQLBackup\xact_HEAD-
13. | 03/04/2014 01:09:06 229.87 GB I \\surveydb4\e$\FullSQLBackup\xact_HEAD-
14. | 02/02/2014 01:40:11 225.50 GB I \\surveydb4\e$\FullSQLBackup\xact_HEAD-
Note that the full filename has been cut short - but it's the same filename for all items in the list.
The above output is from today March 11th 2015.
As I understand the settings in the copygroup the 14th file should have expired and have been removed a while back - since there are 402 days between February 2nd 2014 and today.
I'd also expect the 13th file to be removed 7 days from now - from March 4th 2014 to now we have 372 days.
What setting in the copygroup should I change for this to happen, but still retain all inactive versions of an existing file within the last 378 days?
I'm not interested in what happens when a file in this copygroup has been deleted form the client node - we handle archival by other means than this copygroup and managementclass.