Problem with the MaximumBandwidth option in the job

60 views
Skip to first unread message

Philippe Delalande

unread,
Nov 8, 2023, 3:59:19 AM11/8/23
to bacularis
Hello everyone, I hope you're all well.

In bacularis, when I set the MaximumBandwidth: 33 kB/s option in a backup job, I get the following error message

in the bacula-dir.conf file, this value is set like this:

# cat /opt/bacula/etc/bacula-dir.conf
.....
Job {
  Name = "test"
  Type = "Backup"
  Messages = "Standard"
  Storage = "data_storage"
  Pool = "Full_database_prod"
  FullBackupPool = "Full_database_prod"
  IncrementalBackupPool = "incremental_database_prod"
  Client = "test"
  Fileset = "DATABASE_Dump_E5backup_prod"
  Schedule = "database_prod"
  MaximumBandwidth = 33000
  PruneJobs = yes
  Enabled = yes
}



but when my job is executed, it doesn't take this value into account:

director-dir JobId 34009: End auto prune.
director-dir JobId 34009: No Files found to prune.
director-dir JobId 34009: Begin pruning Files.
director-dir JobId 34009: No Jobs found to prune.
director-dir JobId 34009: Begin pruning Jobs older than 7 days .
director-dir JobId 34009: Bacula director-dir 11.0.6 (10Mar22):
  Build OS:               x86_64-pc-linux-gnu debian 11.3
  JobId:                  34009
  Job:                    test.2023-09-14_06.00.00_56
  Backup Level:           Incremental, since=2023-09-14 00:14:41
  Client:                 "test" 9.6.7 (10Dec20) x86_64-pc-linux-gnu,debian,bullseye/sid
  FileSet:                "test" 2023-06-20 00:00:00
  Pool:                   "incremental_database_prod" (From Run IncPool override)
  Catalog:                "MyCatalog" (From Pool resource)
  Storage:                "data_storage" (From run override)
  Scheduled time:         14-Sep-2023 06:00:00
  Start time:             14-Sep-2023 06:14:36
  End time:               14-Sep-2023 06:14:49
  Elapsed time:           13 secs
  Priority:               11
  FD Files Written:       5
  SD Files Written:       5
  FD Bytes Written:       1,371,258,304 (1.371 GB)
  SD Bytes Written:       1,371,260,592 (1.371 GB)
  Rate:                   105481.4 KB/s
  Software Compression:   None
  Comm Line Compression:  None
  Snapshot/VSS:           no
  Encryption:             yes
  Accurate:               no
  Volume name(s):         test_2023-06-02_00:01:29
  Volume Session Id:      15524
  Volume Session Time:    1683028414
  Last Volume Bytes:      1,372,278,470 (1.372 GB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK
director-sd JobId 34009: Sending spooled attrs to the Director. Despooling 844 bytes ...
director-sd JobId 34009: Elapsed time=00:00:12, Transfer rate=114.2 M Bytes/second




I also tried to modify this value in my bacula-dir.conf file.

I've also tried setting a Maximum Bandwidth Per Job value = 33mb/s in the client's bacula-fd

I've also tried setting this MaximumBandwidthPerJob value in the client section of bacula-dir.conf

but I still get the same result.

Best regards Philippe Delalande


Marcin Haba

unread,
Nov 8, 2023, 11:01:50 PM11/8/23
to Philippe Delalande, bacularis
Hello Philippe,

Yes, I am quite fine. Thanks. I hope the same goes for you.

If I remember correctly I have never tried the MaximumBandwidth
directive but I know about a ticket about this directive. Somebody had
the same problem as your:

https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/issues/2308

Maybe the most useful can be the last answer from Kern that to make
the transfer accurate the job needs to work for a couple of minutes.
In your case it was 13 seconds.

I hope it will be useful.

Best regards,
Marcin Haba (gani)
> --
> You received this message because you are subscribed to the Google Groups "bacularis" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bacularis+...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/bacularis/08d8641f-50c3-47af-83a5-ace7f9cedca8n%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus

Philippe Delalande

unread,
Nov 9, 2023, 3:02:20 AM11/9/23
to Marcin Haba, bacularis
Hello,
once again, many thanks for your reply.

I wish you a good day  
Reply all
Reply to author
Forward
0 new messages