Hello,
Yes, the code that "attempts" to show the volume that will be used, does
pass through all the code that Bacula actually will use to do a backup,
and for that reason, it should always be assumed to be an
approximation. If someone out there has programming skills, it is
probably a good idea to work on improving the "estimation" that is done
for the display. Even then, the program cannot possibly take into
account all the files that may be backed up between the status command
and when the job runs, which could easily alter the volume that will be
chosen by Bacula at the instant of backup.
Best regards,
Kern
On 10/28/18 12:24 PM, David While wrote:
I have bacula V9.2.1 (12 August 2018) and in bconsole when you do a
"status dir" it lists (among other things) the scheduled jobs.
Unfortunately this list of scheduled jobs doesn't always show the
correct volume.
In my jobs definition I have:
Job {
Name = Server
Type = Backup
Client = server-fd
FileSet = Server
Schedule = ServerCycle
Storage = "Disk"
Messages = Standard
Write Bootstrap = "/var/bacula/Server.bsr"
Full Backup Pool = Server
Incremental Backup Pool = Daily
Differential Backup Pool = Weekly
Pool = Server
Maximum Concurrent Jobs = 10
Spool Attributes = Yes
}
My schedule definition is:
Schedule {
Name = ServerCycle
Run = Full 1st sat at 00:10
Run = Differential 2nd-5th sat at 00:10
Run = Incremental sun-fri at 00:10
}
So the incremental backups should use the Daily pool during the week,
Differentials the Weekly pool on the 2nd - 5th Saturday and the Full
the Server pool on the 1st Saturday.
Doing a "status dir" today shows:
Incremental Backup 10 29-Oct-18 00:10 Server Server-3
This is scheduled correctly but the volume should be from the Daily
pool. Indeed when the job is actually run it does use the correct
volume (Daily-2).
It appears that bconsole is not taking account of the Incremental Pool
and Differential Pool settings in the job resource when printing out
the scheduled job list.
David While
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users