cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create a job that makes incremental backups are deleted when a new full backup is taken?

masoud_gharibdo
Level 3

How do I create a job that makes incremental backups are deleted when a new full backup is taken?

and second question:

If the full backup is deleted, the later incremental backups can be used ?

1 ACCEPTED SOLUTION

Accepted Solutions

Colin_Weaver
Moderator
Moderator
Employee Accredited Certified

Yes as long as

a) No newer incremental backups that are part of the same chain and not expired exists

b) it is not the last recovery chain (so as long as a newer full backup has been run.)

 

 

View solution in original post

9 REPLIES 9

pkh
Moderator
Moderator
   VIP    Certified
DLM will automatically delete the last full backup and the subsequent incremental backups if they have expired and the next full backup is taken. DLM will not allow you to delete the full backup if there are any incremental backups dependent on it, that is, the incremental backups are taken after the full backup. This is because the incremental backups are useless without the full backup

masoud_gharibdo
Level 3
I am grateful for your answers, So If the full backup has expired, But incremental backups related to it not expired, full backup will not be deleted. It is true?

Colin_Weaver
Moderator
Moderator
Employee Accredited Certified

You can't create a job that does this automatically you have to set you expiry timings so that the incrementals  will expire at close to the time the next full ends. Note if the next full does not run for some reason unless you have changed the default settings for retaining the last recovery chain then the incrementals will not be reclaimed even though they are marked as expired.

 

Also whilst you can setup the previous full to be reclaimed at the same time as the incrementals with a suitable expiry timing. As the full can be kept for longer than incrementals you can also make it a longer period to allow for a form of GFS expiry management This is because whilst we can't delete the full if non-expired incrementals depend on it, we can delete the incrementals if they are expired when the full is not expired (as long as they are not the last recovery chain.... )

pkh
Moderator
Moderator
   VIP    Certified
True

masoud_gharibdo
Level 3
thank you so much. If the full backup has not expired but incremental backup has expired, the incremental backup will be deleted? and Is this option ("Limit Backup Exec to read-only operations on a disk-based storage device if it has been detached for x number of days") causes the backup x days later deleted?

masoud_gharibdo
Level 3
thank you for your answer, If the full backup has not expired but incremental backup has expired, the incremental backup will be deleted?

masoud_gharibdo
Level 3
thank you for your answer, If the full backup has not expired but incremental backup has expired, the incremental backup will be deleted?

pkh
Moderator
Moderator
   VIP    Certified
Yes. No. If the no. of days in this option is exceeded then the disk storage is marked as read-only. This is for removable disks so that when they are brought online after a prolong period, the backup sets on the disk would not be deleted before they can be used

Colin_Weaver
Moderator
Moderator
Employee Accredited Certified

Yes as long as

a) No newer incremental backups that are part of the same chain and not expired exists

b) it is not the last recovery chain (so as long as a newer full backup has been run.)