Marvin Stark
unread,Oct 25, 2022, 4:15:45 AM10/25/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bareos-users
Hey list,
i configured a job which should do a backup every month and keep it for at least 12 months.
But when i check the pool and backup jobs there are only the last 3 months available.
Is my configuration wrong or bad? If you need more information about my configuration please ask.
Thanks for your help! Here is the basic part of my configuration:
*list volumes pool=Monthly
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
+---------+--------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+---------+
| mediaid | volumename | volstatus | enabled | volbytes | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten | storage |
+---------+--------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+---------+
| 4,287 | Monthly-4287 | Used | 1 | 164,381,732,077 | 38 | 31,104,000 | 1 | 0 | 0 | File | 2022-08-06 04:43:02 | File |
| 4,480 | Monthly-4480 | Used | 1 | 183,235,400,107 | 42 | 31,104,000 | 1 | 0 | 0 | File | 2022-09-03 04:57:40 | File |
| 4,524 | Monthly-4524 | Used | 1 | 175,041,152,484 | 40 | 31,104,000 | 1 | 0 | 0 | File | 2022-10-01 04:46:44 | File |
+---------+--------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+---------+
*list jobs pool=Monthly
+--------+---------------------------+----------------------+---------------------+----------+------+-------+-----------+-----------------+-----------+
| jobid | name | client | starttime | duration | type | level | jobfiles | jobbytes | jobstatus |
+--------+---------------------------+----------------------+---------------------+----------+------+-------+-----------+-----------------+-----------+
| 82,006 | xxx_monthly | xxx-fd | 2022-08-06 04:14:04 | 00:29:25 | B | F | 1,562,186 | 163,941,542,993 | T |
| 89,080 | xxx_monthly | xxx-fd | 2022-09-03 04:26:20 | 00:31:21 | B | F | 1,631,899 | 182,765,337,499 | T |
| 95,528 | xxx_monthly | xxx-fd | 2022-10-01 04:16:23 | 00:30:41 | B | F | 1,386,564 | 174,630,369,349 | T |
+--------+---------------------------+----------------------+---------------------+----------+------+-------+-----------+-----------------+-----------+
Client {
Name = xxx-fd
Address = xxx
Password = "xxx"
Job Retention = 12 months
File Retention = 12 months
Auto Prune = yes
}
Job {
Name = xxx_monthly
Client = xxx-fd
Job Defs = MonthlyFull
FileSet = LinuxAll
Schedule = MonthlyFullSat
}
JobDefs {
Name = "MonthlyFull"
Type = Backup
Level = Full
Client = b05.cmpsrv.com-fd
FileSet = "SelfTest"
Schedule = "MonthlyFullSat"
Storage = File
Messages = Standard
Pool = Monthly
Priority = 10
Write Bootstrap = "/var/lib/bareos/%c.bsr"
}
Schedule {
Name = "MonthlyFullSat"
Run = Full 1st sat at 03:30
}
Pool {
Name = Monthly
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 12 months
Job Retention = 12 months
Maximum Volume Bytes = 500G
Maximum Volume Jobs = 1
Label Format = "Monthly-"
}