Jump to content

Automatic grooming does not remove enough data


jacp10

Recommended Posts

I have a disk backupset which contains backups of multiple servers/clients. The grooming policy is set to Retrospects defined policy. If the nightly scheduled backup script runs out of room on the backup disk then grooming happens automatically. However this does not always groom out enough space for the backup to complete. If the backup runs out of room after grooming, then rather than groom again, it asks for new media.

 

Is there anyway to indicate to the grooming system how much space it is likely to need to free up in order to complete the backup? It does not seem to calculate this itself (and would have to prescan every client speficied in order to do so). I was wondering if there was some useful interaction with the 'use at most' setting on the backup set, or whether this just effectively results in retrospect viewing the disk as being smaller than it really is, in which case it makes no difference.

Link to comment
Share on other sites

I'm using 7.5.234 with hotfixes 7.5.8.101.

 

I back nightly so "last n backups" is very different from retrospects defined policy in terms of the number of snapshots that would need to be retained in order to have a backup snapshot from one month ago still on the system. Defined policy is exactly what I want so it would be a pity if I couldn't use it as a resullt of problems with automatic grooming.

 

justin

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

 

My main backupset is a drive with 350GB usable capacity. A typical nightly incremental takes up about 15-20GB. A full backup takes about 200GB. I''m currently adding some more space to the backup set as its not big enough to keep the number of snapshots I want, ideally I'd like to follow the defined policy and go back to about 3 months. i.e. daily snapshots for 1 week prior, weekly snapshots for 1 month prior and then a couple of single monthly snapshots.

Link to comment
Share on other sites

Okay, so lets do the math here. We'll use your higher end numbers for a worst-case estimate. Your initial backup produces 200GB of data, with 20GB added to that every day. After one week you're already at 300GB for that backup set. Add the minimum of four additional snapshots for each week of the past month and that's another 80GB of data which puts you at 30GB over the advertised (not actual) space of your backup drive.

 

You're trying to put too many eggs in your basket. You need a larger backup drive if you intend to use the defined policy.

Link to comment
Share on other sites

I am putting in more storage. However my point is that to go back to 3 months I need a lot less space if I use the defined policy than if I use the 'keep last n backups' policy. But automatic grooming with the defined policy needs to correctly assess the amount of data it needs to groom out, or be told this by the script, and that doesn't seem possible.

Link to comment
Share on other sites

Quote:

But automatic grooming with the defined policy needs to correctly assess the amount of data it needs to groom out, or be told this by the script, and that doesn't seem possible.

 


 

You're right, it is not possible. According to the description of the defined policy it should "At a minimum, for each source, retain the last backup performed each day for two most recent days." When data is groomed out beyond the normal defined policy (days, weeks, months), the oldest data will be the first to go. In this case, you still will not be getting the 3 month history you desire until you A) increase storage space, or B) decrease data stored.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...