Hello,
On 15.11.2005 11:47, Jesús Arnáiz wrote:
Hi there.
I use bacula with disk files as backup media.
All my Jobs have a common definition using:
JobDefs = "MY-Default"
--
JobDefs {
Name = "MY-Default"
Type = Backup
Level = Incremental
Schedule = "WeeklyCycle"
Storage = nas1-storage
Messages = Standard
Pool = Default
Full Backup Pool = Full-Pool
Incremental Backup Pool = Inc-Pool
Differential Backup Pool = Diff-Pool
Priority = 10
}
Pool {
Name = Default
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle
Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 90 days
Accept Any Volume = yes # write on any volume in the pool
Maximum Volume Bytes = 53687091200 # 50Gb
Volume Use Duration = 23h
LabelFormat = "Vol"
Maximum Volumes = 90
}
Item one: Volumes with names Vol[0-9]{4} are created for this pool.
# Pool definition
Pool {
Name = Full-Pool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6 months
Accept Any Volume = yes
Maximum Volume Jobs = 1
LabelFormat = "Full-"
Maximum Volumes = 18
}
Pool {
Name = Diff-Pool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 40 days
Accept Any Volume = yes
Maximum Volume Jobs = 1
LabelFormat = "Diff-"
Maximum Volumes = 18
}
Pool {
Name = Inc-Pool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 20 days
Accept Any Volume = yes
Maximum Volume Jobs = 6
LabelFormat = "Inc-"
Maximum Volumes = 15
}
----
Although this I see some oddities, I have files that have more than 90
days:
But, most probably, you don't have more than 18 volumes per pool.
Bacula recycles only when it sees no other way to get usable space.
--
-rw-r----- 1 root wheel 530141945 Sep 7 01:11 /nas1/Vol0015
-rw-r----- 1 root wheel 428151308 Sep 8 01:11 /nas1/Vol0016
--
I have this disk 94% filled so I'm wondering why don't recycle this
volumes; on the console I see:
--
| 15 | Vol0015 | Used | 530141744 | 0 |
7776000 | 1 | 0 | 0 | File | 2005-09-07
01:11:56 |
| 16 | Vol0016 | Used | 428151107 | 0 |
7776000 | 1 | 0 | 0 | File | 2005-09-08
01:11:56 |
--
On the other hand, although all my Jobs using the default "MY-Default"
definition so it should uses only Full, Inc and Diff Pools to save the
data (except the catalog) I see files named "Vol"... with more than
100Mb. I'm not sure why bacula is creating it because as you can see it
should create only "Inc-" "Diff-" and "Full-".
It might be that you started jobs manually, or perhaps you have job
overrides in the schedules, or these jobs are remains of an older
configuration.
If you go and look at which jobs, at which level, are stored in the
volumes in question this might become clearer.
--
(...)
| 97 | Vol0072 | Used | 122956877 | 0 |
7776000 | 1 | 0 | 0 | File | 2005-11-08
01:12:31 |
| 98 | Vol0073 | Used | 122843158 | 0 |
7776000 | 1 | 0 | 0 | File | 2005-11-09
01:12:33 |
| 99 | Vol0074 | Used | 123836586 | 0 |
7776000 | 1 | 0 | 0 | File | 2005-11-10
01:12:37 |
| 100 | Vol0075 | Used | 123405052 | 0 |
7776000 | 1 | 0 | 0 | File | 2005-11-11
01:12:34 |
| 101 | Vol0076 | Used | 123939464 | 0 |
7776000 | 1 | 0 | 0 | File | 2005-11-12
01:12:42 |
| 105 | Vol0077 | Used | 125564067 | 0 |
7776000 | 1 | 0 | 0 | File | 2005-11-13
01:12:37 |
| 106 | Vol0078 | Used | 124812767 | 0 |
7776000 | 1 | 0 | 0 | File | 2005-11-14
01:12:36 |
| 107 | Vol0079 | Append | 123918472 | 0 |
7776000 | 1 | 0 | 0 | File | 2005-11-15
01:12:32 |
---
Any idea?
Yes, see above.
Thanks in advance for your help
Arno
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users