Hello, my dears,
i have version 22.0.1 and my "Write Bootstrap" command runs with errors:
...
29-Dez 18:05 bareos-dir JobId 2696: Error: Error running program when
updating bootstrap file: |/usr/sbin/bsmtp -h dsme01.intern.example.com -f
"(Bareos) " -s "Bareos: Backup OK of bareos-fd Full" : ERR=Child exited
with code 1
...
Here my "" configuration file:
...
root@dsme01:~# cat /etc/bareos/bareos-dir.d/job/BackupCatalog.conf
Job {
Name = "BackupCatalog"
Description = "Backup the catalog database (after the nightly save)"
JobDefs = "DefaultJob"
Level = Full
FileSet="Catalog"
Schedule = "WeeklyCycleAfterBackup"
# This creates an ASCII copy of the catalog
# Arguments to make_catalog_backup.pl are:
# make_catalog_backup.pl <catalog-name>
RunBeforeJob = "/usr/lib/bareos/scripts/make_catalog_backup MyCatalog"
# This deletes the copy of the catalog
RunAfterJob = "/usr/lib/bareos/scripts/delete_catalog_backup MyCatalog"
# This sends the bootstrap via mail for disaster recovery.
# Should be sent to another system, please change recipient accordingly
## Write Bootstrap = "|/usr/bin/bsmtp -h dsme01.intern.example.com -f
\"\(Bareos\) \" -s \"Bootstrap for Job %j\" [email protected]"
Write Bootstrap = "|/usr/sbin/bsmtp -h dsme01.intern.example.com -f
\"\(Bareos\) \%r\" -s \"Bareos: \%t \%e of \%c \%l\"
[email protected]"
Priority = 11 # run after main backup
Run Script {
Console = "update stats days=3"
Console = "prune stats yes"
Console = ".bvfs_update"
Runs When = After
Runs On Client = No
## Runs On Failure = No
}
}
...
And this email arrives:
...
backupadmin
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
29-Dez 18:02 bareos-dir JobId 2696: shell command: run BeforeJob
"/usr/lib/bareos/scripts/make_catalog_backup MyCatalog"
29-Dez 18:03 bareos-dir JobId 2696: Start Backup JobId 2696,
Job=BackupCatalog.2022-12-29_18.02.25_20
29-Dez 18:03 bareos-dir JobId 2696: Connected Storage daemon at
bareos.intern.harnet.de:9103, encryption: TLS_CHACHA20_POLY1305_SHA256
TLSv1.3
29-Dez 18:03 bareos-dir JobId 2696: Encryption:
TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
29-Dez 18:03 bareos-dir JobId 2696: Connected Client: bareos-fd at
dsme01.intern.harnet.de:9102, encryption: TLS_CHACHA20_POLY1305_SHA256
TLSv1.3
29-Dez 18:03 bareos-dir JobId 2696: Handshake: Immediate TLS
29-Dez 18:03 bareos-dir JobId 2696: Encryption:
TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
29-Dez 18:04 bareos-dir JobId 2696: Using Device "FileStorage" to write.
29-Dez 18:04 dsme01-fd JobId 2696: Connected Storage daemon at
bareos.intern.harnet.de:9103, encryption: TLS_CHACHA20_POLY1305_SHA256
TLSv1.3
29-Dez 18:04 dsme01-fd JobId 2696: Encryption:
TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
29-Dez 18:04 dsme01-fd JobId 2696: Extended attribute support is enabled
29-Dez 18:04 dsme01-fd JobId 2696: ACL support is enabled
29-Dez 18:04 bareos-sd JobId 2696: Volume "Full-0060" previously written,
moving to end of data.
29-Dez 18:04 bareos-sd JobId 2696: Ready to append to end of Volume
"Full-0060" size=8882352406
29-Dez 18:05 bareos-sd JobId 2696: Releasing device "FileStorage"
(/media/usb/backups/storage).
29-Dez 18:05 bareos-sd JobId 2696: Elapsed time=00:01:14, Transfer
rate=38.31 M Bytes/second
29-Dez 18:05 bareos-dir JobId 2696: Insert of attributes batch table with
110 entries start
29-Dez 18:05 bareos-dir JobId 2696: Insert of attributes batch table done
29-Dez 18:05 bareos-dir JobId 2696: Error: Error running program when
updating bootstrap file: |/usr/sbin/bsmtp -h dsme01.intern.harnet.de -f
"(Bareos) " -s "Bareos: Backup OK of bareos-fd Full" : ERR=Child exited
with code 1
29-Dez 18:05 bareos-dir JobId 2696: Error: Bareos bareos-dir 22.0.1~pre
(21Dec22):
Build OS: Debian GNU/Linux 11 (bullseye)
JobId: 2696
Job: BackupCatalog.2022-12-29_18.02.25_20
Backup Level: Full
Client: "bareos-fd" 22.0.1~pre (21Dec22) Debian GNU/Linux
11 (bullseye),debian
FileSet: "Catalog" 2021-11-10 03:45:01
Pool: "Full" (From command line)
Catalog: "MyCatalog" (From Client resource)
Storage: "File" (From Job resource)
Scheduled time: 29-Dez-2022 18:02:25
Start time: 29-Dez-2022 18:04:00
End time: 29-Dez-2022 18:05:14
Elapsed time: 1 min 14 secs
Priority: 11
FD Files Written: 110
SD Files Written: 110
FD Bytes Written: 2,835,263,807 (2.835 GB)
SD Bytes Written: 2,835,277,324 (2.835 GB)
Rate: 38314.4 KB/s
Software Compression: None
VSS: no
Encryption: no
Accurate: no
Volume name(s): Full-0060
Volume Session Id: 33
Volume Session Time: 1671974737
Last Volume Bytes: 11,719,735,756 (11.71 GB)
Non-fatal FD errors: 1
SD Errors: 0
FD termination status: OK
SD termination status: OK
Bareos binary info: Bareos community build (UNSUPPORTED): Get
professional support from https://www.bareos.com
Job triggered by: User
Termination: *** Backup Error ***
...
What could that be?
Greetings from Stefan Harbich
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/464fdd47-fe15-4dad-ad7f-55ee02434bfbn%40googlegroups.com.