Thanks for your answer Bruno.
To start with your last question, if I am not
wrong, the (very variable) figures I gave are the speed of
despooling only from memory one job to the tape drive. It is
happening for all my backups (at the beginning of the tape and
at the end - so tape position does not appear to have a
noticeable impact).
Here are some clarifications:
- This is a backup from local disks, that is
spooled by chunks of 10GB in a 12GB tmpfs (I ensured that no
swap is used - server is only running bareos and has 24G of
RAM). So bottom line, if I am not misunderstadnding completely
the spooling, Bareos prepares a file of 10GB then, send it to
the tape in one go (avoiding "shoeshining")
- Only one backup job running at a time.
- The numbers are in MB/s and are the numbers of consequents spool files being written for the same backup (Sppoling data, then spool 1 is sent to tape at 25.38MB/s, then spooling again, then spool 2 is sent to tape at 149.1 MB/s and so on)
I had the impression that attributes are spooled too and only sent to the DB at the end of the backup (https://docs.bareos.org/TasksAndConcepts/DataSpooling.html - "When data spooling is enabled, Bareos automatically turns on attribute spooling. In other words, it also spools the catalog entries to disk. [...] Attribute despooling occurs near the end of a job.").
Do you mean that I should change the min size to 1MB? What is the best way of doing that with tapes that are already in use? Any risk during restore?