I'm a little bit confused about Volume Use Duration and Volume Retention.
When a pool, such as the daily pool is configured with a Volume Use Duration of
4 days (let's say Monday - Thursday) the VolStatus is Append until the Thursday
backup is complete; this part is clear enough...but the Volume Retention bit
confuses me.
Lets say the same pool has a Volume Retention set to 9 days and it is called in
the WeeklyCycle schedule.
To summarize here is my puppet config (very similar to the BareOS config):
bareos::director::pool{'Daily':
type => 'Backup',
recycle => 'yes',
auto_prune => 'yes',
volume_use_duration => '4 days',
volume_retention => '9 days',
maximum_volume_bytes => '1G',
maximum_volumes => '10',
label_format => 'daily-${NumVols}'
}
bareos::director::schedule{'WeeklyCycle':
run_spec => [
['Differential', 'Pool=Daily monday-thursday', '23:30'], # 11pm (sons)
# ...
]
}
Now my question is, will the Volume be recycled on the 2nd Monday after the
first backup (on a Monday), considering that the volume retention runs out on a
Saturday, but the WeeklyCycle isn't called again until the 2nd Monday?
Thank you,
Andrew J. Leer
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.
| GFS Daily Pool |
|
|
|
|
| Volume 1 |
|
|
|
|
| M |
T |
W |
T |
F |
S |
S |
|
|
|
|
|
Volume Use Duration Begins.
1 |
1 |
1 |
Volume Use Duration Ends.
1 |
|
|
|
|
Volume Use Duration: |
|
4 days |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| GFS Daily Pool |
|
|
|
|
| Volume 1 |
|
Volume Retention: |
|
9 days |
| M |
T |
W |
T |
F |
S |
S |
|
Shouldn’t it be 10 or 11 days, and not 9? |
|
|
| 1 |
1 |
1 |
1 |
Begin Volume
Use Duration
Count down
|
|
|
|
|
|
|
|
|
|
|
|
End Volume Use
Duration Countdown
|
|
|
|
|
|
Volume 1
Recycled.
|
|
|
|
|
|
|
|
|
|
|