Good afternoon. I tried to optimize the the space, manually reducing the
retention of some pools, but leaving space occupied without being rotated.
After I have changed the service and run: update option: 1 option: 14
It would have a way to automate this process, it follows the configurations:
Pool {
Name = semanal
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Recycle Oldest Volume = yes
Action On Purge = Truncate
Volume Retention = 15 days
Maximum Volume Bytes = 10G
Label Format = "Semanal-"
Volume Use Duration = 23 hours
}
bconsole
list volumes
| 414 | Semanal-0414 | Full | 1 | 10,737,377,210 |
2 | 1,296,000 | 1 | 0 | 0 | File | 2017-11-17
12:11:56 | File |
| 415 | Semanal-0415 | Full | 1 | 10,737,392,004 |
2 | 1,296,000 | 1 | 0 | 0 | File | 2017-11-17
12:33:49 | File |
| 416 | Semanal-0416 | Full | 1 | 10,737,391,165 |
2 | 1,296,000 | 1 | 0 | 0 | File | 2017-11-18
00:03:33 | File |
| 417 | Semanal-0417 | Full | 1 | 10,737,377,042 |
2 | 1,296,000 | 1 | 0 | 0 | File | 2017-11-18
00:07:04 | File |
| 418 | Semanal-0418 | Full | 1 | 10,737,380,490 |
2 | 1,296,000 | 1 | 0 | 0 | File | 2017-11-18
00:17:00 | File |
| 419 | Semanal-0419 | Full | 1 | 10,737,378,229 |
2 | 1,296,000 | 1 | 0 | 0 | File | 2017-11-24
12:03:17 | File |
| 420 | Semanal-0420 | Full | 1 | 10,737,377,229 |
2 | 1,296,000 | 1 | 0 | 0 | File | 2017-11-24
12:11:29 | File |
| 421 | Semanal-0421 | Full | 1 | 10,737,417,656 |
2 | 1,296,000 | 1 | 0 | 0 | File | 2017-11-24
12:46:16 | File |
| 422 | Semanal-0422 | Full | 1 | 10,737,377,174 |
2 | 1,296,000 | 1 | 0 | 0 | File | 2017-12-01
12:06:46 | File |
Look, even a 15-day retention pool has some files from last year.
Thanks for any help.
Allan Patrick Ksiaskiewcz
--
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.