cancel
Showing results for 
Search instead for 
Did you mean: 

Image cleanup schedule creep: fix?

jim_dalton
Level 6

I think I know the answer but is anyone aware of a fix for image cleanup creep? Mine now run at 1am and 1300 ish. Hopelessly out of sync for when folks need to go and manage media: all the tape work is done 10am (when the backups have completed), but the image cleanup has crept to 3hrs later.

Mighty inconvenient. I believe the answer is no. Which means its an enhancement request.

Thanks,Jim. 

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

I'm with Mark - a restart of NBU should reset the cleanup time.

You may also want to shorten the interval specified in 'Image Cleanup' interval in Master server Host Properties -> Clean-Up.

Extract from NBU Admin Guide I about this setting:

Specifies the maximum interval that can elapse before an image cleanup is
run. Image cleanup is run after every successful backup session (that is, a
session in which at least one backup runs successfully). If a backup session
exceeds this maximum interval, an image cleanup is initiated.

 

View solution in original post

3 REPLIES 3

Mark_Solutions
Level 6
Partner Accredited Certified

It generally runs when the set of backups have completed - but would also run at midnight / midday as you expect.

I guess the easy way is to schedule (windows scheduler or cron) to run bpimage -cleanup -allclients when ever you want it to run.

It also seems to tie in from a time when NetBackup was started up - so maybe do a bpdown / bpup (netbackup stop / netbackup start) at midday to reset it?

Marianne
Level 6
Partner    VIP    Accredited Certified

I'm with Mark - a restart of NBU should reset the cleanup time.

You may also want to shorten the interval specified in 'Image Cleanup' interval in Master server Host Properties -> Clean-Up.

Extract from NBU Admin Guide I about this setting:

Specifies the maximum interval that can elapse before an image cleanup is
run. Image cleanup is run after every successful backup session (that is, a
session in which at least one backup runs successfully). If a backup session
exceeds this maximum interval, an image cleanup is initiated.

 

jim_dalton
Level 6

Whilst it wont achieve the desired result, it'll get most of the way there...close enough.

Chopped the interval down from 12hr default.

Jim