Ok so as expected on a standard Debian 11 + postgresql all upgrades from Bareos 21 up to Bareos 24 run smoothly.
apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [341 kB]
Fetched 412 kB in 0s (1281 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
15 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@e932e682bd56:/# vi add_bareos_repos.sh
root@e932e682bd56:/# bash add_bareos_repos.sh
Repository https://download.bareos.com/bareos/release/21/Debian_11 successfully added.
root@e932e682bd56:/# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
git git-man libpq5 libpython3.9 libpython3.9-dev libpython3.9-minimal libpython3.9-stdlib libtiff5 postgresql-13 postgresql-client-13 python3.9 python3.9-dev
python3.9-minimal tzdata ucf
15 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 36.4 MB of archives.
After this operation, 1324 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://deb.debian.org/debian-security bullseye-security/main amd64 python3.9-dev amd64 3.9.2-1+deb11u2 [507 kB]
Get:2 http://deb.debian.org/debian-security bullseye-security/main amd64 python3.9 amd64 3.9.2-1+deb11u2 [467 kB]
Get:3 http://deb.debian.org/debian-security bullseye-security/main amd64 libpython3.9-dev amd64 3.9.2-1+deb11u2 [4338 kB]
Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 libpython3.9 amd64 3.9.2-1+deb11u2 [1692 kB]
Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 libpython3.9-stdlib amd64 3.9.2-1+deb11u2 [1684 kB]
Get:6 http://deb.debian.org/debian-security bullseye-security/main amd64 python3.9-minimal amd64 3.9.2-1+deb11u2 [1964 kB]
Get:7 http://deb.debian.org/debian-security bullseye-security/main amd64 libpython3.9-minimal amd64 3.9.2-1+deb11u2 [804 kB]
Get:8 http://deb.debian.org/debian-security bullseye-security/main amd64 tzdata all 2024b-0+deb11u1 [305 kB]
Get:9 http://deb.debian.org/debian-security bullseye-security/main amd64 ucf all 3.0043+deb11u2 [74.3 kB]
Get:10 http://deb.debian.org/debian-security bullseye-security/main amd64 git-man all 1:2.30.2-1+deb11u4 [1831 kB]
Get:11 http://deb.debian.org/debian-security bullseye-security/main amd64 git amd64 1:2.30.2-1+deb11u4 [5566 kB]
Get:12 http://deb.debian.org/debian-security bullseye-security/main amd64 libpq5 amd64 13.18-0+deb11u1 [184 kB]
Get:13 http://deb.debian.org/debian-security bullseye-security/main amd64 libtiff5 amd64 4.2.0-1+deb11u6 [291 kB]
Get:14 http://deb.debian.org/debian-security bullseye-security/main amd64 postgresql-client-13 amd64 13.18-0+deb11u1 [1517 kB]
Get:15 http://deb.debian.org/debian-security bullseye-security/main amd64 postgresql-13 amd64 13.18-0+deb11u1 [15.2 MB]
Fetched 36.4 MB in 3s (12.7 MB/s)
Preconfiguring packages ...
(Reading database ... 27587 files and directories currently installed.)
Preparing to unpack .../00-python3.9-dev_3.9.2-1+deb11u2_amd64.deb ...
Unpacking python3.9-dev (3.9.2-1+deb11u2) over (3.9.2-1) ...
Preparing to unpack .../01-python3.9_3.9.2-1+deb11u2_amd64.deb ...
Unpacking python3.9 (3.9.2-1+deb11u2) over (3.9.2-1) ...
Preparing to unpack .../02-libpython3.9-dev_3.9.2-1+deb11u2_amd64.deb ...
Unpacking libpython3.9-dev:amd64 (3.9.2-1+deb11u2) over (3.9.2-1) ...
Preparing to unpack .../03-libpython3.9_3.9.2-1+deb11u2_amd64.deb ...
Unpacking libpython3.9:amd64 (3.9.2-1+deb11u2) over (3.9.2-1) ...
Preparing to unpack .../04-libpython3.9-stdlib_3.9.2-1+deb11u2_amd64.deb ...
Unpacking libpython3.9-stdlib:amd64 (3.9.2-1+deb11u2) over (3.9.2-1) ...
Preparing to unpack .../05-python3.9-minimal_3.9.2-1+deb11u2_amd64.deb ...
Unpacking python3.9-minimal (3.9.2-1+deb11u2) over (3.9.2-1) ...
Preparing to unpack .../06-libpython3.9-minimal_3.9.2-1+deb11u2_amd64.deb ...
Unpacking libpython3.9-minimal:amd64 (3.9.2-1+deb11u2) over (3.9.2-1) ...
Preparing to unpack .../07-tzdata_2024b-0+deb11u1_all.deb ...
Unpacking tzdata (2024b-0+deb11u1) over (2024a-0+deb11u1) ...
Preparing to unpack .../08-ucf_3.0043+deb11u2_all.deb ...
Unpacking ucf (3.0043+deb11u2) over (3.0043) ...
Preparing to unpack .../09-git-man_1%3a2.30.2-1+deb11u4_all.deb ...
Unpacking git-man (1:2.30.2-1+deb11u4) over (1:2.30.2-1+deb11u3) ...
Preparing to unpack .../10-git_1%3a2.30.2-1+deb11u4_amd64.deb ...
Unpacking git (1:2.30.2-1+deb11u4) over (1:2.30.2-1+deb11u3) ...
Preparing to unpack .../11-libpq5_13.18-0+deb11u1_amd64.deb ...
Unpacking libpq5:amd64 (13.18-0+deb11u1) over (13.17-0+deb11u1) ...
Preparing to unpack .../12-libtiff5_4.2.0-1+deb11u6_amd64.deb ...
Unpacking libtiff5:amd64 (4.2.0-1+deb11u6) over (4.2.0-1+deb11u5) ...
Preparing to unpack .../13-postgresql-client-13_13.18-0+deb11u1_amd64.deb ...
Unpacking postgresql-client-13 (13.18-0+deb11u1) over (13.17-0+deb11u1) ...
Preparing to unpack .../14-postgresql-13_13.18-0+deb11u1_amd64.deb ...
/usr/sbin/policy-rc.d returned 101, not running 'stop postgresql@13-*'
Unpacking postgresql-13 (13.18-0+deb11u1) over (13.17-0+deb11u1) ...
Setting up libpython3.9-minimal:amd64 (3.9.2-1+deb11u2) ...
Setting up libpq5:amd64 (13.18-0+deb11u1) ...
Setting up postgresql-client-13 (13.18-0+deb11u1) ...
Setting up tzdata (2024b-0+deb11u1) ...
Current default time zone: 'Etc/UTC'
Local time is now: Thu Feb 6 08:47:04 UTC 2025.
Universal Time is now: Thu Feb 6 08:47:04 UTC 2025.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
Setting up ucf (3.0043+deb11u2) ...
Setting up git-man (1:2.30.2-1+deb11u4) ...
Setting up postgresql-13 (13.18-0+deb11u1) ...
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libtiff5:amd64 (4.2.0-1+deb11u6) ...
Setting up python3.9-minimal (3.9.2-1+deb11u2) ...
Setting up libpython3.9-stdlib:amd64 (3.9.2-1+deb11u2) ...
Setting up libpython3.9:amd64 (3.9.2-1+deb11u2) ...
Setting up git (1:2.30.2-1+deb11u4) ...
Setting up python3.9 (3.9.2-1+deb11u2) ...
Setting up libpython3.9-dev:amd64 (3.9.2-1+deb11u2) ...
Setting up python3.9-dev (3.9.2-1+deb11u2) ...
Processing triggers for libc-bin (2.31-13+deb11u11) ...
Processing triggers for postgresql-common (225+deb11u1) ...
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:
Processing triggers for mailcap (3.69) ...
root@e932e682bd56:/# systemctl restart postgresql
root@e932e682bd56:/# apt install bareos
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package bareos
root@e932e682bd56:/# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Get:4 https://download.bareos.com/bareos/release/21/Debian_11 InRelease [1876 B]
Get:5 https://download.bareos.com/bareos/release/21/Debian_11 Sources [9076 B]
Get:6 https://download.bareos.com/bareos/release/21/Debian_11 Packages [63.6 kB]
Fetched 74.5 kB in 1s (94.3 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@e932e682bd56:/# apt install bareos
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
bareos-bconsole bareos-client bareos-common bareos-database-common bareos-database-postgresql bareos-database-tools bareos-director bareos-filedaemon bareos-storage
bareos-tools dbconfig-common dbconfig-pgsql gawk liblzo2-2 libsigsegv2
Suggested packages:
bareos-traymonitor gawk-doc
The following NEW packages will be installed:
bareos bareos-bconsole bareos-client bareos-common bareos-database-common bareos-database-postgresql bareos-database-tools bareos-director bareos-filedaemon bareos-storage
bareos-tools dbconfig-common dbconfig-pgsql gawk liblzo2-2 libsigsegv2
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 3178 kB of archives.
After this operation, 10.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
root@e932e682bd56:/# apt install bareos bareos-webui
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
bareos-bconsole bareos-client bareos-common bareos-database-common bareos-database-postgresql bareos-database-tools bareos-director bareos-filedaemon bareos-storage
bareos-tools dbconfig-common dbconfig-pgsql gawk liblzo2-2 libsigsegv2 libsodium23 php-common php-curl php-date php-fpm php-intl php7.4-cli php7.4-common php7.4-curl
php7.4-fpm php7.4-intl php7.4-json php7.4-opcache php7.4-readline
Suggested packages:
bareos-traymonitor gawk-doc php-pear
The following NEW packages will be installed:
bareos bareos-bconsole bareos-client bareos-common bareos-database-common bareos-database-postgresql bareos-database-tools bareos-director bareos-filedaemon bareos-storage
bareos-tools bareos-webui dbconfig-common dbconfig-pgsql gawk liblzo2-2 libsigsegv2 libsodium23 php-common php-curl php-date php-fpm php-intl php7.4-cli php7.4-common
php7.4-curl php7.4-fpm php7.4-intl php7.4-json php7.4-opcache php7.4-readline
0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.0 MB of archives.
After this operation, 48.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://deb.debian.org/debian bullseye/main amd64 libsigsegv2 amd64 2.13-1 [34.8 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 gawk amd64 1:5.1.0-1 [605 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 liblzo2-2 amd64 2.10-2 [56.9 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 dbconfig-common all 2.0.19 [609 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 dbconfig-pgsql all 2.0.19 [1068 B]
Get:6 http://deb.debian.org/debian bullseye/main amd64 php-common all 2:76 [15.6 kB]
Get:7 http://deb.debian.org/debian-security bullseye-security/main amd64 php7.4-common amd64 7.4.33-1+deb11u7 [1026 kB]
Get:8 http://deb.debian.org/debian-security bullseye-security/main amd64 php7.4-json amd64 7.4.33-1+deb11u7 [19.3 kB]
Get:9 http://deb.debian.org/debian-security bullseye-security/main amd64 php7.4-opcache amd64 7.4.33-1+deb11u7 [198 kB]
Get:10 http://deb.debian.org/debian-security bullseye-security/main amd64 php7.4-readline amd64 7.4.33-1+deb11u7 [12.3 kB]
Get:11 http://deb.debian.org/debian bullseye/main amd64 libsodium23 amd64 1.0.18-1 [161 kB]
Get:12 http://deb.debian.org/debian-security bullseye-security/main amd64 php7.4-cli amd64 7.4.33-1+deb11u7 [1427 kB]
Get:13 https://download.bareos.com/bareos/release/21/Debian_11 bareos-common 21.1.11-1 [731 kB]
Get:14 http://deb.debian.org/debian-security bullseye-security/main amd64 php7.4-fpm amd64 7.4.33-1+deb11u7 [1440 kB]
Get:15 http://deb.debian.org/debian bullseye/main amd64 php-fpm all 2:7.4+76 [6424 B]
Get:16 http://deb.debian.org/debian bullseye/main amd64 php-date all 1.4.7-3 [40.3 kB]
Get:17 http://deb.debian.org/debian-security bullseye-security/main amd64 php7.4-intl amd64 7.4.33-1+deb11u7 [123 kB]
Get:18 http://deb.debian.org/debian bullseye/main amd64 php-intl all 2:7.4+76 [6372 B]
Get:19 http://deb.debian.org/debian-security bullseye-security/main amd64 php7.4-curl amd64 7.4.33-1+deb11u7 [31.0 kB]
Get:20 http://deb.debian.org/debian bullseye/main amd64 php-curl all 2:7.4+76 [6364 B]
Get:21 https://download.bareos.com/bareos/release/21/Debian_11 bareos-bconsole 21.1.11-1 [56.9 kB]
Get:22 https://download.bareos.com/bareos/release/21/Debian_11 bareos-database-postgresql 21.1.11-1 [61.7 kB]
Get:23 https://download.bareos.com/bareos/release/21/Debian_11 bareos-database-common 21.1.11-1 [103 kB]
Get:24 https://download.bareos.com/bareos/release/21/Debian_11 bareos-database-tools 21.1.11-1 [125 kB]
Get:25 https://download.bareos.com/bareos/release/21/Debian_11 bareos-director 21.1.11-1 [420 kB]
Get:26 https://download.bareos.com/bareos/release/21/Debian_11 bareos-filedaemon 21.1.11-1 [135 kB]
Get:27 https://download.bareos.com/bareos/release/21/Debian_11 bareos-storage 21.1.11-1 [112 kB]
Get:28 https://download.bareos.com/bareos/release/21/Debian_11 bareos-tools 21.1.11-1 [63.8 kB]
Get:29 https://download.bareos.com/bareos/release/21/Debian_11 bareos-client 21.1.11-1 [31.7 kB]
Get:30 https://download.bareos.com/bareos/release/21/Debian_11 bareos 21.1.11-1 [31.9 kB]
Get:31 https://download.bareos.com/bareos/release/21/Debian_11 bareos-webui 21.1.11-1 [2348 kB]
Fetched 10.0 MB in 3s (3389 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package libsigsegv2:amd64.
(Reading database ... 27588 files and directories currently installed.)
Preparing to unpack .../libsigsegv2_2.13-1_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.13-1) ...
Setting up libsigsegv2:amd64 (2.13-1) ...
Selecting previously unselected package gawk.
(Reading database ... 27597 files and directories currently installed.)
Preparing to unpack .../00-gawk_1%3a5.1.0-1_amd64.deb ...
Unpacking gawk (1:5.1.0-1) ...
Selecting previously unselected package liblzo2-2:amd64.
Preparing to unpack .../01-liblzo2-2_2.10-2_amd64.deb ...
Unpacking liblzo2-2:amd64 (2.10-2) ...
Selecting previously unselected package bareos-common.
Preparing to unpack .../02-bareos-common_21.1.11-1_amd64.deb ...
Unpacking bareos-common (21.1.11-1) ...
Selecting previously unselected package bareos-bconsole.
Preparing to unpack .../03-bareos-bconsole_21.1.11-1_amd64.deb ...
Unpacking bareos-bconsole (21.1.11-1) ...
Selecting previously unselected package dbconfig-common.
Preparing to unpack .../04-dbconfig-common_2.0.19_all.deb ...
Unpacking dbconfig-common (2.0.19) ...
Selecting previously unselected package dbconfig-pgsql.
Preparing to unpack .../05-dbconfig-pgsql_2.0.19_all.deb ...
Unpacking dbconfig-pgsql (2.0.19) ...
Selecting previously unselected package bareos-database-postgresql.
Preparing to unpack .../06-bareos-database-postgresql_21.1.11-1_amd64.deb ...
Unpacking bareos-database-postgresql (21.1.11-1) ...
Selecting previously unselected package bareos-database-common.
Preparing to unpack .../07-bareos-database-common_21.1.11-1_amd64.deb ...
Unpacking bareos-database-common (21.1.11-1) ...
Selecting previously unselected package bareos-database-tools.
Preparing to unpack .../08-bareos-database-tools_21.1.11-1_amd64.deb ...
Unpacking bareos-database-tools (21.1.11-1) ...
Selecting previously unselected package bareos-director.
Preparing to unpack .../09-bareos-director_21.1.11-1_amd64.deb ...
Unpacking bareos-director (21.1.11-1) ...
Selecting previously unselected package bareos-filedaemon.
Preparing to unpack .../10-bareos-filedaemon_21.1.11-1_amd64.deb ...
Unpacking bareos-filedaemon (21.1.11-1) ...
Selecting previously unselected package bareos-storage.
Preparing to unpack .../11-bareos-storage_21.1.11-1_amd64.deb ...
Unpacking bareos-storage (21.1.11-1) ...
Selecting previously unselected package bareos-tools.
Preparing to unpack .../12-bareos-tools_21.1.11-1_amd64.deb ...
Unpacking bareos-tools (21.1.11-1) ...
Selecting previously unselected package bareos-client.
Preparing to unpack .../13-bareos-client_21.1.11-1_amd64.deb ...
Unpacking bareos-client (21.1.11-1) ...
Selecting previously unselected package bareos.
Preparing to unpack .../14-bareos_21.1.11-1_amd64.deb ...
Unpacking bareos (21.1.11-1) ...
Selecting previously unselected package php-common.
Preparing to unpack .../15-php-common_2%3a76_all.deb ...
Unpacking php-common (2:76) ...
Selecting previously unselected package php7.4-common.
Preparing to unpack .../16-php7.4-common_7.4.33-1+deb11u7_amd64.deb ...
Unpacking php7.4-common (7.4.33-1+deb11u7) ...
Selecting previously unselected package php7.4-json.
Preparing to unpack .../17-php7.4-json_7.4.33-1+deb11u7_amd64.deb ...
Unpacking php7.4-json (7.4.33-1+deb11u7) ...
Selecting previously unselected package php7.4-opcache.
Preparing to unpack .../18-php7.4-opcache_7.4.33-1+deb11u7_amd64.deb ...
Unpacking php7.4-opcache (7.4.33-1+deb11u7) ...
Selecting previously unselected package php7.4-readline.
Preparing to unpack .../19-php7.4-readline_7.4.33-1+deb11u7_amd64.deb ...
Unpacking php7.4-readline (7.4.33-1+deb11u7) ...
Selecting previously unselected package libsodium23:amd64.
Preparing to unpack .../20-libsodium23_1.0.18-1_amd64.deb ...
Unpacking libsodium23:amd64 (1.0.18-1) ...
Selecting previously unselected package php7.4-cli.
Preparing to unpack .../21-php7.4-cli_7.4.33-1+deb11u7_amd64.deb ...
Unpacking php7.4-cli (7.4.33-1+deb11u7) ...
Selecting previously unselected package php7.4-fpm.
Preparing to unpack .../22-php7.4-fpm_7.4.33-1+deb11u7_amd64.deb ...
Unpacking php7.4-fpm (7.4.33-1+deb11u7) ...
Selecting previously unselected package php-fpm.
Preparing to unpack .../23-php-fpm_2%3a7.4+76_all.deb ...
Unpacking php-fpm (2:7.4+76) ...
Selecting previously unselected package php-date.
Preparing to unpack .../24-php-date_1.4.7-3_all.deb ...
Unpacking php-date (1.4.7-3) ...
Selecting previously unselected package php7.4-intl.
Preparing to unpack .../25-php7.4-intl_7.4.33-1+deb11u7_amd64.deb ...
Unpacking php7.4-intl (7.4.33-1+deb11u7) ...
Selecting previously unselected package php-intl.
Preparing to unpack .../26-php-intl_2%3a7.4+76_all.deb ...
Unpacking php-intl (2:7.4+76) ...
Selecting previously unselected package php7.4-curl.
Preparing to unpack .../27-php7.4-curl_7.4.33-1+deb11u7_amd64.deb ...
Unpacking php7.4-curl (7.4.33-1+deb11u7) ...
Selecting previously unselected package php-curl.
Preparing to unpack .../28-php-curl_2%3a7.4+76_all.deb ...
Unpacking php-curl (2:7.4+76) ...
Selecting previously unselected package bareos-webui.
Preparing to unpack .../29-bareos-webui_21.1.11-1_all.deb ...
Unpacking bareos-webui (21.1.11-1) ...
Setting up php-common (2:76) ...
Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer → /lib/systemd/system/phpsessionclean.timer.
/usr/sbin/policy-rc.d returned 101, not running 'start phpsessionclean.timer'
Setting up libsodium23:amd64 (1.0.18-1) ...
Setting up php7.4-common (7.4.33-1+deb11u7) ...
Creating config file /etc/php/7.4/mods-available/calendar.ini with new version
Creating config file /etc/php/7.4/mods-available/ctype.ini with new version
Creating config file /etc/php/7.4/mods-available/exif.ini with new version
Creating config file /etc/php/7.4/mods-available/fileinfo.ini with new version
Creating config file /etc/php/7.4/mods-available/ffi.ini with new version
Creating config file /etc/php/7.4/mods-available/ftp.ini with new version
Creating config file /etc/php/7.4/mods-available/gettext.ini with new version
Creating config file /etc/php/7.4/mods-available/iconv.ini with new version
Creating config file /etc/php/7.4/mods-available/pdo.ini with new version
Creating config file /etc/php/7.4/mods-available/phar.ini with new version
Creating config file /etc/php/7.4/mods-available/posix.ini with new version
Creating config file /etc/php/7.4/mods-available/shmop.ini with new version
Creating config file /etc/php/7.4/mods-available/sockets.ini with new version
Creating config file /etc/php/7.4/mods-available/sysvmsg.ini with new version
Creating config file /etc/php/7.4/mods-available/sysvsem.ini with new version
Creating config file /etc/php/7.4/mods-available/sysvshm.ini with new version
Creating config file /etc/php/7.4/mods-available/tokenizer.ini with new version
Setting up php7.4-curl (7.4.33-1+deb11u7) ...
Creating config file /etc/php/7.4/mods-available/curl.ini with new version
Setting up gawk (1:5.1.0-1) ...
Setting up php7.4-readline (7.4.33-1+deb11u7) ...
Creating config file /etc/php/7.4/mods-available/readline.ini with new version
Setting up liblzo2-2:amd64 (2.10-2) ...
Setting up dbconfig-common (2.0.19) ...
Creating config file /etc/dbconfig-common/config with new version
Setting up php7.4-intl (7.4.33-1+deb11u7) ...
Creating config file /etc/php/7.4/mods-available/intl.ini with new version
Setting up php-intl (2:7.4+76) ...
Setting up php7.4-opcache (7.4.33-1+deb11u7) ...
Creating config file /etc/php/7.4/mods-available/opcache.ini with new version
Setting up php-date (1.4.7-3) ...
Setting up php-curl (2:7.4+76) ...
Setting up php7.4-json (7.4.33-1+deb11u7) ...
Creating config file /etc/php/7.4/mods-available/json.ini with new version
Setting up dbconfig-pgsql (2.0.19) ...
Setting up bareos-common (21.1.11-1) ...
Setting up bareos-filedaemon (21.1.11-1) ...
Name = XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX-fd
replacing 'XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX-fd' with 'e932e682bd56-fd' in /etc/bareos/bareos-fd.d/client/myself.conf
replacing 'XXX_REPLACE_WITH_CLIENT_PASSWORD_XXX' in /etc/bareos/bareos-fd.d/director/bareos-dir.conf
replacing 'XXX_REPLACE_WITH_CLIENT_MONITOR_PASSWORD_XXX' in /etc/bareos/bareos-fd.d/director/bareos-mon.conf
Created symlink /etc/systemd/system/bareos-fd.service → /lib/systemd/system/bareos-filedaemon.service.
Created symlink /etc/systemd/system/multi-user.target.wants/bareos-filedaemon.service → /lib/systemd/system/bareos-filedaemon.service.
Setting up php7.4-cli (7.4.33-1+deb11u7) ...
update-alternatives: using /usr/bin/php7.4 to provide /usr/bin/php (php) in auto mode
update-alternatives: using /usr/bin/phar7.4 to provide /usr/bin/phar (phar) in auto mode
update-alternatives: using /usr/bin/phar.phar7.4 to provide /usr/bin/phar.phar (phar.phar) in auto mode
Creating config file /etc/php/7.4/cli/php.ini with new version
Setting up bareos-tools (21.1.11-1) ...
Setting up bareos-storage (21.1.11-1) ...
replacing 'XXX_REPLACE_WITH_STORAGE_PASSWORD_XXX' in /etc/bareos/bareos-sd.d/director/bareos-dir.conf
replacing 'XXX_REPLACE_WITH_STORAGE_MONITOR_PASSWORD_XXX' in /etc/bareos/bareos-sd.d/director/bareos-mon.conf
Created symlink /etc/systemd/system/bareos-sd.service → /lib/systemd/system/bareos-storage.service.
Created symlink /etc/systemd/system/multi-user.target.wants/bareos-storage.service → /lib/systemd/system/bareos-storage.service.
Setting up bareos-bconsole (21.1.11-1) ...
replacing 'XXX_REPLACE_WITH_DIRECTOR_PASSWORD_XXX' in /etc/bareos/bconsole.conf
Setting up php7.4-fpm (7.4.33-1+deb11u7) ...
Creating config file /etc/php/7.4/fpm/php.ini with new version
NOTICE: Not enabling PHP 7.4 FPM by default.
NOTICE: To enable PHP 7.4 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.4-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Created symlink /etc/systemd/system/multi-user.target.wants/php7.4-fpm.service → /lib/systemd/system/php7.4-fpm.service.
invoke-rc.d: policy-rc.d denied execution of start.
Setting up bareos-client (21.1.11-1) ...
Setting up php-fpm (2:7.4+76) ...
Setting up bareos-webui (21.1.11-1) ...
/usr/sbin/a2enmod
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
/usr/sbin/a2enmod
Module rewrite already enabled
/usr/sbin/a2enconf
Enabling conf bareos-webui.
To activate the new configuration, you need to run:
systemctl reload apache2
Setting up bareos-database-postgresql (21.1.11-1) ...
Setting up bareos-database-common (21.1.11-1) ...
(config) dbc_go() bareos-database-common configure.
dbc_config() bareos-database-common configure.
dbc_set_dbtype_defaults() .
dbc_detect_installed_dbtype() pgsql.
_dbc_detect_installed_dbtype() pgsql.
dbc_register_debconf() .
dbc_read_package_config() .
dbc_read_package_debconf() .
dbc_set_dbtype_defaults() .
dbc_detect_installed_dbtype() pgsql.
_dbc_detect_installed_dbtype() pgsql.
settings determined from dbc_read_package_debconf:.
dbc_install=true.
dbc_upgrade=true.
dbc_remove=true.
dbc_dbtype=pgsql.
dbc_dbuser=.
dbc_dbpass=.
dbc_dballow=.
dbc_dbadmin=postgres.
dbc_dbadmpass=.
dbc_dbserver=localhost.
dbc_dbport=.
dbc_dbname=.
dbc_authmethod_admin=ident.
dbc_authmethod_user=password.
dbc_ssl=.
dbc_preseed_package_debconf() .
dbc_config() bareos-database-common configure.
dbc_set_dbtype_defaults() pgsql.
dbc_detect_installed_dbtype() pgsql.
_dbc_detect_installed_dbtype() pgsql.
dbc_register_debconf() .
dbc_get_app_pass() .
(postinst) dbc_go() bareos-database-common configure.
dbc_config() bareos-database-common configure.
dbc_set_dbtype_defaults() .
dbc_read_package_debconf() .
dbc_set_dbtype_defaults() pgsql.
settings determined from dbc_read_package_debconf:.
dbc_install=true.
dbc_upgrade=true.
dbc_remove=true.
dbc_dbtype=pgsql.
dbc_dbuser=bareos.
dbc_dbpass=3LYlcoN6dq3R.
dbc_dballow=localhost.
dbc_dbadmin=postgres.
dbc_dbadmpass=.
dbc_dbserver=localhost.
dbc_dbport=.
dbc_dbname=bareos.
dbc_authmethod_admin=ident.
dbc_authmethod_user=password.
dbc_ssl=.
dbc_write_package_config() .
dbconfig-common: writing config to /etc/dbconfig-common/bareos-database-common.conf
Creating config file /etc/dbconfig-common/bareos-database-common.conf with new version
dbc_read_package_config() .
dbc_detect_installed_dbtype() pgsql.
_dbc_detect_installed_dbtype() pgsql.
runuser --user root -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.qFxyCf' PGPASSFILE='/tmp/dbconfig-common.psql_home.qFxyCf/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -h 'localhost' -U 'bareos' template1" 2>&1.
dbc_get_admin_pass() .
runuser --user postgres -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.VkjaAR' PGPASSFILE='/tmp/dbconfig-common.psql_home.VkjaAR/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -U 'postgres' template1" 2>&1.
creating postgres user bareos: runuser --user postgres -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.veb5pD' PGPASSFILE='/tmp/dbconfig-common.psql_home.veb5pD/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -U 'postgres' template1" 2>&1.
runuser --user postgres -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.QQAWJM' PGPASSFILE='/tmp/dbconfig-common.psql_home.QQAWJM/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -U 'postgres' -U 'postgres' template1" 2>&1.
success.
verifying creation of user: runuser --user postgres -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.RPwO44' PGPASSFILE='/tmp/dbconfig-common.psql_home.RPwO44/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -U 'postgres' template1" 2>&1.
success.
dbc_get_admin_pass() .
_dbc_detect_installed_dbtype() psql.
runuser --user postgres -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.OqcLfg' PGPASSFILE='/tmp/dbconfig-common.psql_home.OqcLfg/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -U 'postgres' template1" 2>&1.
creating database bareos: runuser --user postgres -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.oXxp1c' PGPASSFILE='/tmp/dbconfig-common.psql_home.oXxp1c/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -U 'postgres' -U 'postgres'" 2>&1.
success.
verifying database bareos exists: success.
populating database via sql... runuser --user root -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.C8LRQx' PGPASSFILE='/tmp/dbconfig-common.psql_home.C8LRQx/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -h 'localhost' -U 'bareos' bareos" 2>&1.
done.
dbc_postinst_cleanup() .
dbc_forget_dbadmin_password() .
dbconfig-common: flushing administrative password
dbc_forget_app_password() .
Warning: failed to set parameter catalog MyCatalog dbuser = bareos: directory /etc/bareos/bareos-dir.d//catalog does not exist
Warning: failed to set parameter catalog MyCatalog dbname = bareos: directory /etc/bareos/bareos-dir.d//catalog does not exist
Warning: failed to set parameter catalog MyCatalog dbpassword = 3LYlcoN6dq3R: directory /etc/bareos/bareos-dir.d//catalog does not exist
Setting up bareos-database-tools (21.1.11-1) ...
Setting up bareos-director (21.1.11-1) ...
Address = XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX # N.B. Use a fully qualified name here (do not use "localhost" here).
replacing 'XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX' with 'e932e682bd56' in /etc/bareos/bareos-dir.d/storage/File.conf
replacing 'XXX_REPLACE_WITH_DIRECTOR_PASSWORD_XXX' in /etc/bareos/bareos-dir.d/director/bareos-dir.conf
replacing 'XXX_REPLACE_WITH_CLIENT_PASSWORD_XXX' in /etc/bareos/bareos-dir.d/client/bareos-fd.conf
replacing 'XXX_REPLACE_WITH_STORAGE_PASSWORD_XXX' in /etc/bareos/bareos-dir.d/storage/File.conf
replacing 'XXX_REPLACE_WITH_DIRECTOR_MONITOR_PASSWORD_XXX' in /etc/bareos/bareos-dir.d/console/bareos-mon.conf
Created symlink /etc/systemd/system/bareos-dir.service → /lib/systemd/system/bareos-director.service.
Created symlink /etc/systemd/system/multi-user.target.wants/bareos-director.service → /lib/systemd/system/bareos-director.service.
Setting up bareos (21.1.11-1) ...
Processing triggers for libc-bin (2.31-13+deb11u11) ...
Processing triggers for php7.4-cli (7.4.33-1+deb11u7) ...
Processing triggers for php7.4-fpm (7.4.33-1+deb11u7) ...
invoke-rc.d: policy-rc.d denied execution of restart.
NOTICE: Not enabling PHP 7.4 FPM by default.
NOTICE: To enable PHP 7.4 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.4-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
root@e932e682bd56:/# a2enmod proxy_fcgi setenvif
Considering dependency proxy for proxy_fcgi:
Enabling module proxy.
Enabling module proxy_fcgi.
Module setenvif already enabled
To activate the new configuration, you need to run:
systemctl restart apache2
root@e932e682bd56:/# a2enconf php7.4-fpm
Enabling conf php7.4-fpm.
To activate the new configuration, you need to run:
systemctl reload apache2
root@e932e682bd56:/# systemctl reload apache2
root@e932e682bd56:/# su postgres -c /usr/lib/bareos/scripts/
bareos-config btraceback.gdb delete_catalog_backup drop_bareos_tables make_catalog_backup set_dbconfig_vars.sh
bareos-config-lib.sh create_bareos_database disk-changer grant_bareos_privileges make_catalog_backup.pl update_bareos_tables
bareos-explorer ddl/ drop_bareos_database make_bareos_tables query.sql
root@e932e682bd56:/# su postgres -c /usr/lib/bareos/scripts/create_bareos_database
Creating postgresql database
psql:<stdin>:2: ERROR: database "bareos" already exists
Database encoding bad. Do not use this database
Creating of bareos database failed.
root@e932e682bd56:/# su postgres -c /usr/lib/bareos/scripts/drop_bareos_^C
root@e932e682bd56:/# su postgres -c "psql -lta"
bareos | postgres | SQL_ASCII | C.UTF-8 | C.UTF-8 |
postgres | postgres | UTF8 | C.UTF-8 | C.UTF-8 |
root | postgres | UTF8 | C.UTF-8 | C.UTF-8 |
template0 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
root@e932e682bd56:/# su postgres -c "psql -d bareos -c 'select * from version;'"
versionid
-----------
2210
(1 row)
root@e932e682bd56:/# bareos-dir -t -u bareos -g bareos
root@e932e682bd56:/# systemctl start bareos-dir bareos-sd bareos-fd
root@e932e682bd56:/# bconsole
Connecting to Director localhost:9101
Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
1000 OK: bareos-dir Version: 21.1.11 (10 September 2024)
Bareos subscription binary
Bareos subscription release.
Support available on https://www.bareos.com/support/
You are connected using the default console
Enter a period (.) to cancel a command.
*status dir
bareos-dir Version: 21.1.11 (10 September 2024) Debian GNU/Linux 11 (bullseye)
Daemon started 06-Feb-25 08:50. Jobs: run=0, running=0 db:postgresql, Bareos subscription binary
Scheduled Jobs:
Level Type Pri Scheduled Name Volume
===================================================================================
Incremental Backup 10 06-Feb-25 21:00 backup-bareos-fd *unknown*
Full Backup 11 06-Feb-25 21:10 BackupCatalog *unknown*
====
Running Jobs:
Console connected at 06-Feb-25 08:50
No Jobs running.
====
No Terminated Jobs.
Client Initiated Connections (waiting for jobs):
Connect time Protocol Authenticated Name
====================================================================================================
====
*run job=backup-bareos-fd yes
Using Catalog "MyCatalog"
Job queued. JobId=1
You have messages.
*m
06-Feb 08:51 bareos-dir JobId 1: No prior Full backup Job record found.
06-Feb 08:51 bareos-dir JobId 1: No prior or suitable Full backup found in catalog. Doing FULL backup.
*m
06-Feb 08:51 bareos-dir JobId 1: Start Backup JobId 1, Job=backup-bareos-fd.2025-02-06_08.51.06_04
06-Feb 08:51 bareos-dir JobId 1: Connected Storage daemon at e932e682bd56:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:51 bareos-dir JobId 1: Created new Volume "Full-0001" in catalog.
06-Feb 08:51 bareos-dir JobId 1: Using Device "FileStorage" to write.
06-Feb 08:51 bareos-dir JobId 1: Probing client protocol... (result will be saved until config reload)
06-Feb 08:51 bareos-dir JobId 1: Connected Client: bareos-fd at localhost:9102, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:51 bareos-dir JobId 1: Handshake: Immediate TLS
06-Feb 08:51 e932e682bd56-fd JobId 1: Connected Storage daemon at e932e682bd56:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:51 e932e682bd56-fd JobId 1: Extended attribute support is enabled
06-Feb 08:51 e932e682bd56-fd JobId 1: ACL support is enabled
06-Feb 08:51 bareos-sd JobId 1: Labeled new Volume "Full-0001" on device "FileStorage" (/var/lib/bareos/storage).
06-Feb 08:51 bareos-sd JobId 1: Wrote label to prelabeled Volume "Full-0001" on device "FileStorage" (/var/lib/bareos/storage)
06-Feb 08:51 bareos-sd JobId 1: Releasing device "FileStorage" (/var/lib/bareos/storage).
06-Feb 08:51 bareos-sd JobId 1: Elapsed time=00:00:01, Transfer rate=12.52 M Bytes/second
06-Feb 08:51 bareos-dir JobId 1: Insert of attributes batch table with 129 entries start
06-Feb 08:51 bareos-dir JobId 1: Insert of attributes batch table done
06-Feb 08:51 bareos-dir JobId 1: Bareos bareos-dir 21.1.11 (10Sep24):
Build OS: Debian GNU/Linux 11 (bullseye)
JobId: 1
Job: backup-bareos-fd.2025-02-06_08.51.06_04
Backup Level: Full (upgraded from Incremental)
Client: "bareos-fd" 21.1.11 (10Sep24) Debian GNU/Linux 11 (bullseye),debian
FileSet: "SelfTest" 2025-02-06 08:51:06
Pool: "Full" (From Job FullPool override)
Catalog: "MyCatalog" (From Client resource)
Storage: "File" (From Job resource)
Scheduled time: 06-Feb-2025 08:51:06
Start time: 06-Feb-2025 08:51:08
End time: 06-Feb-2025 08:51:08
Elapsed time: 0 secs
Priority: 10
FD Files Written: 129
SD Files Written: 129
FD Bytes Written: 12,512,514 (12.51 MB)
SD Bytes Written: 12,525,697 (12.52 MB)
Rate: 0.0 KB/s
Software Compression: None
VSS: no
Encryption: no
Accurate: no
Volume name(s): Full-0001
Volume Session Id: 1
Volume Session Time: 1738831841
Last Volume Bytes: 12,540,890 (12.54 MB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Bareos binary info: Bareos subscription release
Job triggered by: User
Termination: Backup OK
*q
root@e932e682bd56:/# vi add_bareos_repos.sh
root@e932e682bd56:/# bash add_bareos_repos.sh
Repository https://download.bareos.com/bareos/release/22/Debian_11 successfully added.
root@e932e682bd56:/# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 https://download.bareos.com/bareos/release/22/Debian_11 InRelease [1875 B]
Get:5 https://download.bareos.com/bareos/release/22/Debian_11 Sources [7568 B]
Get:6 https://download.bareos.com/bareos/release/22/Debian_11 Packages [53.5 kB]
Fetched 107 kB in 1s (152 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
12 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@e932e682bd56:/# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
bareos bareos-bconsole bareos-client bareos-common bareos-database-common bareos-database-postgresql bareos-database-tools bareos-director bareos-filedaemon bareos-storage
bareos-tools bareos-webui
12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 6885 kB of archives.
After this operation, 9771 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://download.bareos.com/bareos/release/22/Debian_11 bareos-tools 22.1.6-1 [349 kB]
Get:2 https://download.bareos.com/bareos/release/22/Debian_11 bareos-database-tools 22.1.6-1 [224 kB]
Get:3 https://download.bareos.com/bareos/release/22/Debian_11 bareos 22.1.6-1 [31.3 kB]
Get:4 https://download.bareos.com/bareos/release/22/Debian_11 bareos-director 22.1.6-1 [495 kB]
Get:5 https://download.bareos.com/bareos/release/22/Debian_11 bareos-database-common 22.1.6-1 [106 kB]
Get:6 https://download.bareos.com/bareos/release/22/Debian_11 bareos-database-postgresql 22.1.6-1 [61.0 kB]
Get:7 https://download.bareos.com/bareos/release/22/Debian_11 bareos-filedaemon 22.1.6-1 [204 kB]
Get:8 https://download.bareos.com/bareos/release/22/Debian_11 bareos-client 22.1.6-1 [31.2 kB]
Get:9 https://download.bareos.com/bareos/release/22/Debian_11 bareos-storage 22.1.6-1 [191 kB]
Get:10 https://download.bareos.com/bareos/release/22/Debian_11 bareos-bconsole 22.1.6-1 [128 kB]
Get:11 https://download.bareos.com/bareos/release/22/Debian_11 bareos-common 22.1.6-1 [966 kB]
Get:12 https://download.bareos.com/bareos/release/22/Debian_11 bareos-webui 22.1.6-1 [4099 kB]
Fetched 6885 kB in 3s (2540 kB/s)
(Reading database ... 30945 files and directories currently installed.)
Preparing to unpack .../00-bareos-tools_22.1.6-1_amd64.deb ...
Unpacking bareos-tools (22.1.6-1) over (21.1.11-1) ...
Preparing to unpack .../01-bareos-database-tools_22.1.6-1_amd64.deb ...
Unpacking bareos-database-tools (22.1.6-1) over (21.1.11-1) ...
Preparing to unpack .../02-bareos_22.1.6-1_amd64.deb ...
Unpacking bareos (22.1.6-1) over (21.1.11-1) ...
Preparing to unpack .../03-bareos-director_22.1.6-1_amd64.deb ...
Unpacking bareos-director (22.1.6-1) over (21.1.11-1) ...
Preparing to unpack .../04-bareos-database-common_22.1.6-1_amd64.deb ...
Unpacking bareos-database-common (22.1.6-1) over (21.1.11-1) ...
Preparing to unpack .../05-bareos-database-postgresql_22.1.6-1_amd64.deb ...
Unpacking bareos-database-postgresql (22.1.6-1) over (21.1.11-1) ...
Preparing to unpack .../06-bareos-filedaemon_22.1.6-1_amd64.deb ...
Unpacking bareos-filedaemon (22.1.6-1) over (21.1.11-1) ...
Preparing to unpack .../07-bareos-client_22.1.6-1_amd64.deb ...
Unpacking bareos-client (22.1.6-1) over (21.1.11-1) ...
Preparing to unpack .../08-bareos-storage_22.1.6-1_amd64.deb ...
Unpacking bareos-storage (22.1.6-1) over (21.1.11-1) ...
Preparing to unpack .../09-bareos-bconsole_22.1.6-1_amd64.deb ...
Unpacking bareos-bconsole (22.1.6-1) over (21.1.11-1) ...
Preparing to unpack .../10-bareos-common_22.1.6-1_amd64.deb ...
Unpacking bareos-common (22.1.6-1) over (21.1.11-1) ...
Preparing to unpack .../11-bareos-webui_22.1.6-1_all.deb ...
Unpacking bareos-webui (22.1.6-1) over (21.1.11-1) ...
Setting up bareos-common (22.1.6-1) ...
Setting up bareos-filedaemon (22.1.6-1) ...
/usr/sbin/policy-rc.d returned 101, not running 'try-restart bareos-filedaemon.service'
Setting up bareos-tools (22.1.6-1) ...
Setting up bareos-webui (22.1.6-1) ...
Installing new version of config file /etc/bareos-webui/configuration.ini ...
Installing new version of config file /etc/bareos/bareos-dir.d/profile/webui-admin.conf ...
Module rewrite already enabled
Considering dependency proxy for proxy_fcgi:
Module proxy already enabled
Module proxy_fcgi already enabled
Conf bareos-webui already enabled
Setting up bareos-storage (22.1.6-1) ...
tape:x:26:bareos
disk:x:6:bareos
Setting up bareos-bconsole (22.1.6-1) ...
Setting up bareos-client (22.1.6-1) ...
Setting up bareos-database-postgresql (22.1.6-1) ...
Setting up bareos-database-common (22.1.6-1) ...
(config) dbc_go() bareos-database-common configure 2210.
dbc_config() bareos-database-common configure 2210.
dbc_set_dbtype_defaults() .
dbc_detect_installed_dbtype() pgsql.
_dbc_detect_installed_dbtype() pgsql.
dbc_register_debconf() .
dbc_read_package_config() .
dbc_preseed_package_debconf() .
dbc_config() bareos-database-common configure 2210.
dbc_set_dbtype_defaults() pgsql.
dbc_detect_installed_dbtype() pgsql.
_dbc_detect_installed_dbtype() pgsql.
dbc_register_debconf() .
dbc_get_app_pass() .
(postinst) dbc_go() bareos-database-common configure 2210.
dbc_config() bareos-database-common configure 2210.
dbc_set_dbtype_defaults() .
dbc_read_package_debconf() .
dbc_set_dbtype_defaults() pgsql.
settings determined from dbc_read_package_debconf:.
dbc_install=true.
dbc_upgrade=true.
dbc_remove=true.
dbc_dbtype=pgsql.
dbc_dbuser=bareos.
dbc_dbpass=3LYlcoN6dq3R.
dbc_dballow=localhost.
dbc_dbadmin=postgres.
dbc_dbadmpass=.
dbc_dbserver=localhost.
dbc_dbport=.
dbc_dbname=bareos.
dbc_authmethod_admin=ident.
dbc_authmethod_user=password.
dbc_ssl=.
dbc_write_package_config() .
dbconfig-common: writing config to /etc/dbconfig-common/bareos-database-common.conf
dbc_read_package_config() .
dbc_postinst_cleanup() .
dbc_forget_dbadmin_password() .
dbconfig-common: flushing administrative password
dbc_forget_app_password() .
Setting up bareos-database-tools (22.1.6-1) ...
Setting up bareos-director (22.1.6-1) ...
Setting up bareos (22.1.6-1) ...
root@e932e682bd56:/# bconsole
Connecting to Director localhost:9101
Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
1000 OK: bareos-dir Version: 21.1.11 (10 September 2024)
Bareos subscription binary
Bareos subscription release.
Support available on https://www.bareos.com/support/
You are connected using the default console
Enter a period (.) to cancel a command.
*q
root@e932e682bd56:/# systemctl restart bareos-dir bareos-sd bareos-fd
root@e932e682bd56:/# bconsole
Connecting to Director localhost:9101
Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
1000 OK: bareos-dir Version: 22.1.6 (10 September 2024)
Bareos subscription release.
Support available on https://www.bareos.com/support/
You are connected using the default console
Enter a period (.) to cancel a command.
*run job=backup-bareos-fd yes
Using Catalog "MyCatalog"
Job queued. JobId=2
*m
You have no messages.
*m
You have no messages.
*m
06-Feb 08:53 bareos-dir JobId 2: Start Backup JobId 2, Job=backup-bareos-fd.2025-02-06_08.53.12_03
06-Feb 08:53 bareos-dir JobId 2: Connected Storage daemon at e932e682bd56:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:53 bareos-dir JobId 2: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:53 bareos-dir JobId 2: Probing client protocol... (result will be saved until config reload)
06-Feb 08:53 bareos-dir JobId 2: Connected Client: bareos-fd at localhost:9102, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:53 bareos-dir JobId 2: Handshake: Immediate TLS
06-Feb 08:53 bareos-dir JobId 2: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:53 bareos-dir JobId 2: Created new Volume "Incremental-0002" in catalog.
06-Feb 08:53 bareos-dir JobId 2: Using Device "FileStorage" to write.
06-Feb 08:53 e932e682bd56-fd JobId 2: Connected Storage daemon at e932e682bd56:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:53 e932e682bd56-fd JobId 2: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:53 e932e682bd56-fd JobId 2: Extended attribute support is enabled
06-Feb 08:53 e932e682bd56-fd JobId 2: ACL support is enabled
06-Feb 08:53 bareos-sd JobId 2: Labeled new Volume "Incremental-0002" on device "FileStorage" (/var/lib/bareos/storage).
06-Feb 08:53 bareos-sd JobId 2: Wrote label to prelabeled Volume "Incremental-0002" on device "FileStorage" (/var/lib/bareos/storage)
06-Feb 08:53 bareos-sd JobId 2: Releasing device "FileStorage" (/var/lib/bareos/storage).
06-Feb 08:53 bareos-sd JobId 2: Elapsed time=00:00:01, Transfer rate=5.407 M Bytes/second
06-Feb 08:53 bareos-dir JobId 2: Insert of attributes batch table with 16 entries start
06-Feb 08:53 bareos-dir JobId 2: Insert of attributes batch table done
06-Feb 08:53 bareos-dir JobId 2: Bareos bareos-dir 22.1.6 (10Sep24):
Build OS: Debian GNU/Linux 11 (bullseye)
JobId: 2
Job: backup-bareos-fd.2025-02-06_08.53.12_03
Backup Level: Incremental, since=2025-02-06 08:51:08
Client: "bareos-fd" 22.1.6 (10Sep24) Debian GNU/Linux 11 (bullseye),debian
FileSet: "SelfTest" 2025-02-06 08:51:06
Pool: "Incremental" (From Job IncPool override)
Catalog: "MyCatalog" (From Client resource)
Storage: "File" (From Job resource)
Scheduled time: 06-Feb-2025 08:53:12
Start time: 06-Feb-2025 08:53:14
End time: 06-Feb-2025 08:53:14
Elapsed time: 0 secs
Priority: 10
FD Files Written: 16
SD Files Written: 16
FD Bytes Written: 5,405,689 (5.405 MB)
SD Bytes Written: 5,407,301 (5.407 MB)
Rate: 0.0 KB/s
Software Compression: None
VSS: no
Encryption: no
Accurate: no
Volume name(s): Incremental-0002
Volume Session Id: 1
Volume Session Time: 1738831981
Last Volume Bytes: 5,412,561 (5.412 MB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Bareos binary info: Bareos subscription release
Job triggered by: User
Termination: Backup OK
*m
You have no messages.
*q
root@e932e682bd56:/# vi add_bareos_repos.sh
root@e932e682bd56:/# bash add_bareos_repos.sh
Repository https://download.bareos.com/bareos/release/23/Debian_11 successfully added.
root@e932e682bd56:/# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Get:4 https://download.bareos.com/bareos/release/23/Debian_11 InRelease [1875 B]
Get:5 https://download.bareos.com/bareos/release/23/Debian_11 Sources [5880 B]
Get:6 https://download.bareos.com/bareos/release/23/Debian_11 Packages [32.5 kB]
Fetched 40.3 kB in 1s (60.5 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
12 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@e932e682bd56:/# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
bareos bareos-bconsole bareos-client bareos-common bareos-database-common bareos-database-postgresql bareos-database-tools bareos-director bareos-filedaemon bareos-storage
bareos-tools bareos-webui
12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 7063 kB of archives.
After this operation, 979 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://download.bareos.com/bareos/release/23/Debian_11 bareos-tools 23.1.1-1 [475 kB]
Get:2 https://download.bareos.com/bareos/release/23/Debian_11 bareos-database-tools 23.1.1-1 [228 kB]
Get:3 https://download.bareos.com/bareos/release/23/Debian_11 bareos 23.1.1-1 [31.5 kB]
Get:4 https://download.bareos.com/bareos/release/23/Debian_11 bareos-director 23.1.1-1 [503 kB]
Get:5 https://download.bareos.com/bareos/release/23/Debian_11 bareos-database-common 23.1.1-1 [115 kB]
Get:6 https://download.bareos.com/bareos/release/23/Debian_11 bareos-database-postgresql 23.1.1-1 [40.8 kB]
Get:7 https://download.bareos.com/bareos/release/23/Debian_11 bareos-filedaemon 23.1.1-1 [226 kB]
Get:8 https://download.bareos.com/bareos/release/23/Debian_11 bareos-client 23.1.1-1 [31.3 kB]
Get:9 https://download.bareos.com/bareos/release/23/Debian_11 bareos-storage 23.1.1-1 [192 kB]
Get:10 https://download.bareos.com/bareos/release/23/Debian_11 bareos-bconsole 23.1.1-1 [128 kB]
Get:11 https://download.bareos.com/bareos/release/23/Debian_11 bareos-common 23.1.1-1 [1001 kB]
Get:12 https://download.bareos.com/bareos/release/23/Debian_11 bareos-webui 23.1.1-1 [4090 kB]
Fetched 7063 kB in 3s (2629 kB/s)
(Reading database ... 31586 files and directories currently installed.)
Preparing to unpack .../00-bareos-tools_23.1.1-1_amd64.deb ...
Unpacking bareos-tools (23.1.1-1) over (22.1.6-1) ...
Preparing to unpack .../01-bareos-database-tools_23.1.1-1_amd64.deb ...
Unpacking bareos-database-tools (23.1.1-1) over (22.1.6-1) ...
Preparing to unpack .../02-bareos_23.1.1-1_amd64.deb ...
Unpacking bareos (23.1.1-1) over (22.1.6-1) ...
Preparing to unpack .../03-bareos-director_23.1.1-1_amd64.deb ...
Unpacking bareos-director (23.1.1-1) over (22.1.6-1) ...
Preparing to unpack .../04-bareos-database-common_23.1.1-1_amd64.deb ...
Unpacking bareos-database-common (23.1.1-1) over (22.1.6-1) ...
Preparing to unpack .../05-bareos-database-postgresql_23.1.1-1_amd64.deb ...
Unpacking bareos-database-postgresql (23.1.1-1) over (22.1.6-1) ...
Preparing to unpack .../06-bareos-filedaemon_23.1.1-1_amd64.deb ...
Unpacking bareos-filedaemon (23.1.1-1) over (22.1.6-1) ...
Preparing to unpack .../07-bareos-client_23.1.1-1_amd64.deb ...
Unpacking bareos-client (23.1.1-1) over (22.1.6-1) ...
Preparing to unpack .../08-bareos-storage_23.1.1-1_amd64.deb ...
Unpacking bareos-storage (23.1.1-1) over (22.1.6-1) ...
Preparing to unpack .../09-bareos-bconsole_23.1.1-1_amd64.deb ...
Unpacking bareos-bconsole (23.1.1-1) over (22.1.6-1) ...
Preparing to unpack .../10-bareos-common_23.1.1-1_amd64.deb ...
Unpacking bareos-common (23.1.1-1) over (22.1.6-1) ...
Preparing to unpack .../11-bareos-webui_23.1.1-1_all.deb ...
Unpacking bareos-webui (23.1.1-1) over (22.1.6-1) ...
Setting up bareos-common (23.1.1-1) ...
Setting up bareos-database-postgresql (23.1.1-1) ...
Setting up bareos-filedaemon (23.1.1-1) ...
/usr/sbin/policy-rc.d returned 101, not running 'try-restart bareos-filedaemon.service'
Setting up bareos-tools (23.1.1-1) ...
Setting up bareos-webui (23.1.1-1) ...
Installing new version of config file /etc/bareos-webui/configuration.ini ...
Module rewrite already enabled
Considering dependency proxy for proxy_fcgi:
Module proxy already enabled
Module proxy_fcgi already enabled
Conf bareos-webui already enabled
Setting up bareos-storage (23.1.1-1) ...
tape:x:26:bareos
disk:x:6:bareos
Setting up bareos-bconsole (23.1.1-1) ...
Setting up bareos-client (23.1.1-1) ...
Setting up bareos-database-common (23.1.1-1) ...
(config) dbc_go() bareos-database-common configure 2210.
dbc_config() bareos-database-common configure 2210.
dbc_set_dbtype_defaults() .
dbc_detect_installed_dbtype() pgsql.
_dbc_detect_installed_dbtype() pgsql.
dbc_register_debconf() .
dbc_read_package_config() .
dbc_preseed_package_debconf() .
dbc_config() bareos-database-common configure 2210.
dbc_set_dbtype_defaults() pgsql.
dbc_detect_installed_dbtype() pgsql.
_dbc_detect_installed_dbtype() pgsql.
dbc_register_debconf() .
dbc_get_app_pass() .
(postinst) dbc_go() bareos-database-common configure 2210.
dbc_config() bareos-database-common configure 2210.
dbc_set_dbtype_defaults() .
dbc_read_package_debconf() .
dbc_set_dbtype_defaults() pgsql.
settings determined from dbc_read_package_debconf:.
dbc_install=true.
dbc_upgrade=true.
dbc_remove=true.
dbc_dbtype=pgsql.
dbc_dbuser=bareos.
dbc_dbpass=3LYlcoN6dq3R.
dbc_dballow=localhost.
dbc_dbadmin=postgres.
dbc_dbadmpass=.
dbc_dbserver=localhost.
dbc_dbport=.
dbc_dbname=bareos.
dbc_authmethod_admin=ident.
dbc_authmethod_user=password.
dbc_ssl=.
dbc_write_package_config() .
dbconfig-common: writing config to /etc/dbconfig-common/bareos-database-common.conf
dbc_read_package_config() .
creating database backup in /var/cache/dbconfig-common/backups/bareos-database-common_2210.2025-02-06-08.54.24.
runuser --user root -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.SqSAyV' PGPASSFILE='/tmp/dbconfig-common.psql_home.SqSAyV/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -h 'localhost' -U 'bareos' template1" 2>&1.
runuser --user root -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.IxAdko' PGPASSFILE='/tmp/dbconfig-common.psql_home.IxAdko/.pgpass' PGSSLMODE='prefer' pg_dump -f "/var/cache/dbconfig-common/backups/bareos-database-common_2210.2025-02-06-08.54.24" -h 'localhost' -U 'bareos' bareos" 2>&1.
_dbc_apply_upgrades() 2230.
applying upgrade sql for 2210 -> 2230.
runuser --user root -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.i7AyFU' PGPASSFILE='/tmp/dbconfig-common.psql_home.i7AyFU/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -h 'localhost' -U 'bareos' bareos" 2>&1.
dbc_postinst_cleanup() .
dbc_forget_dbadmin_password() .
dbconfig-common: flushing administrative password
dbc_forget_app_password() .
Setting up bareos-database-tools (23.1.1-1) ...
Setting up bareos-director (23.1.1-1) ...
Setting up bareos (23.1.1-1) ...
root@e932e682bd56:/# systemctl restart bareos-dir bareos-sd bareos-fd
root@e932e682bd56:/# bconsole
Connecting to Director localhost:9101
Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
1000 OK: bareos-dir Version: 23.1.1 (02 December 2024)
Bareos subscription release.
Support available on https://www.bareos.com/support/
You are connected using the default console
Enter a period (.) to cancel a command.
*run job=backup-bareos-fd
Using Catalog "MyCatalog"
Run Backup job
JobName: backup-bareos-fd
Level: Incremental
Client: bareos-fd
Format: Native
FileSet: SelfTest
Pool: Incremental (From Job IncPool override)
Storage: File (From Job resource)
When: 2025-02-06 08:54:57
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=3
*m
You have no messages.
*m
06-Feb 08:55 bareos-dir JobId 3: Start Backup JobId 3, Job=backup-bareos-fd.2025-02-06_08.54.58_03
06-Feb 08:55 bareos-dir JobId 3: Connected Storage daemon at e932e682bd56:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:55 bareos-dir JobId 3: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:55 bareos-dir JobId 3: Probing client protocol... (result will be saved until config reload)
06-Feb 08:55 bareos-dir JobId 3: Connected Client: bareos-fd at localhost:9102, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:55 bareos-dir JobId 3: Handshake: Immediate TLS
06-Feb 08:55 bareos-dir JobId 3: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:55 bareos-dir JobId 3: Using Device "FileStorage" to write.
06-Feb 08:55 e932e682bd56-fd JobId 3: Connected Storage daemon at e932e682bd56:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:55 e932e682bd56-fd JobId 3: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:55 e932e682bd56-fd JobId 3: Extended attribute support is enabled
06-Feb 08:55 e932e682bd56-fd JobId 3: ACL support is enabled
06-Feb 08:55 bareos-sd JobId 3: Moving to end of data on volume "Incremental-0002"
06-Feb 08:55 bareos-sd JobId 3: Ready to append to end of Volume "Incremental-0002" size=5412561
06-Feb 08:55 bareos-sd JobId 3: Releasing device "FileStorage" (/var/lib/bareos/storage).
06-Feb 08:55 bareos-sd JobId 3: Elapsed time=00:00:01, Transfer rate=6.021 M Bytes/second
06-Feb 08:55 bareos-dir JobId 3: Insert of attributes batch table with 16 entries start
06-Feb 08:55 bareos-dir JobId 3: Insert of attributes batch table done
06-Feb 08:55 bareos-dir JobId 3: Bareos bareos-dir 23.1.1 (02Dec24):
Build OS: Debian GNU/Linux 11 (bullseye)
JobId: 3
Job: backup-bareos-fd.2025-02-06_08.54.58_03
Backup Level: Incremental, since=2025-02-06 08:53:14
Client: "bareos-fd" 23.1.1 (02Dec24) Debian GNU/Linux 11 (bullseye),debian
FileSet: "SelfTest" 2025-02-06 08:51:06
Pool: "Incremental" (From Job IncPool override)
Catalog: "MyCatalog" (From Client resource)
Storage: "File" (From Job resource)
Scheduled time: 06-Feb-2025 08:54:57
Start time: 06-Feb-2025 08:55:00
End time: 06-Feb-2025 08:55:00
Elapsed time: 0 secs
Priority: 10
Allow Mixed Priority: no
FD Files Written: 16
SD Files Written: 16
FD Bytes Written: 6,019,737 (6.019 MB)
SD Bytes Written: 6,021,350 (6.021 MB)
Rate: 0.0 KB/s
Software Compression: None
VSS: no
Encryption: no
Accurate: no
Volume name(s): Incremental-0002
Volume Session Id: 1
Volume Session Time: 1738832088
Last Volume Bytes: 11,435,429 (11.43 MB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Bareos binary info: Bareos subscription release
Job triggered by: User
Termination: Backup OK
*q
root@e932e682bd56:/# vi add_bareos_repos.sh
root@e932e682bd56:/# bash add_bareos_repos.sh
Repository https://download.bareos.org/current/Debian_11 successfully added.
root@e932e682bd56:/# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Get:4 https://download.bareos.org/current/Debian_11 InRelease [1891 B]
Get:5 https://download.bareos.org/current/Debian_11 Sources [2108 B]
Get:6 https://download.bareos.org/current/Debian_11 Packages [8244 B]
Fetched 12.2 kB in 0s (32.8 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
12 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@e932e682bd56:/# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
bareos bareos-bconsole bareos-client bareos-common bareos-database-common bareos-database-postgresql bareos-database-tools bareos-director bareos-filedaemon bareos-storage
bareos-tools bareos-webui
12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 6999 kB of archives.
After this operation, 622 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://download.bareos.org/current/Debian_11 bareos-tools 24.0.1~pre53.6ffc81313-24 [549 kB]
Get:2 https://download.bareos.org/current/Debian_11 bareos-database-tools 24.0.1~pre53.6ffc81313-24 [242 kB]
Get:3 https://download.bareos.org/current/Debian_11 bareos 24.0.1~pre53.6ffc81313-24 [32.6 kB]
Get:4 https://download.bareos.org/current/Debian_11 bareos-director 24.0.1~pre53.6ffc81313-24 [520 kB]
Get:5 https://download.bareos.org/current/Debian_11 bareos-database-common 24.0.1~pre53.6ffc81313-24 [121 kB]
Get:6 https://download.bareos.org/current/Debian_11 bareos-database-postgresql 24.0.1~pre53.6ffc81313-24 [42.1 kB]
Get:7 https://download.bareos.org/current/Debian_11 bareos-filedaemon 24.0.1~pre53.6ffc81313-24 [237 kB]
Get:8 https://download.bareos.org/current/Debian_11 bareos-client 24.0.1~pre53.6ffc81313-24 [32.4 kB]
Get:9 https://download.bareos.org/current/Debian_11 bareos-storage 24.0.1~pre53.6ffc81313-24 [203 kB]
Get:10 https://download.bareos.org/current/Debian_11 bareos-bconsole 24.0.1~pre53.6ffc81313-24 [139 kB]
Get:11 https://download.bareos.org/current/Debian_11 bareos-common 24.0.1~pre53.6ffc81313-24 [965 kB]
Get:12 https://download.bareos.org/current/Debian_11 bareos-webui 24.0.1~pre53.6ffc81313-24 [3915 kB]
Fetched 6999 kB in 1s (9910 kB/s)
(Reading database ... 31593 files and directories currently installed.)
Preparing to unpack .../00-bareos-tools_24.0.1~pre53.6ffc81313-24_amd64.deb ...
Unpacking bareos-tools (24.0.1~pre53.6ffc81313-24) over (23.1.1-1) ...
Preparing to unpack .../01-bareos-database-tools_24.0.1~pre53.6ffc81313-24_amd64.deb ...
Unpacking bareos-database-tools (24.0.1~pre53.6ffc81313-24) over (23.1.1-1) ...
Preparing to unpack .../02-bareos_24.0.1~pre53.6ffc81313-24_amd64.deb ...
Unpacking bareos (24.0.1~pre53.6ffc81313-24) over (23.1.1-1) ...
Preparing to unpack .../03-bareos-director_24.0.1~pre53.6ffc81313-24_amd64.deb ...
Unpacking bareos-director (24.0.1~pre53.6ffc81313-24) over (23.1.1-1) ...
Preparing to unpack .../04-bareos-database-common_24.0.1~pre53.6ffc81313-24_amd64.deb ...
Unpacking bareos-database-common (24.0.1~pre53.6ffc81313-24) over (23.1.1-1) ...
Preparing to unpack .../05-bareos-database-postgresql_24.0.1~pre53.6ffc81313-24_amd64.deb ...
Unpacking bareos-database-postgresql (24.0.1~pre53.6ffc81313-24) over (23.1.1-1) ...
Preparing to unpack .../06-bareos-filedaemon_24.0.1~pre53.6ffc81313-24_amd64.deb ...
Unpacking bareos-filedaemon (24.0.1~pre53.6ffc81313-24) over (23.1.1-1) ...
Preparing to unpack .../07-bareos-client_24.0.1~pre53.6ffc81313-24_amd64.deb ...
Unpacking bareos-client (24.0.1~pre53.6ffc81313-24) over (23.1.1-1) ...
Preparing to unpack .../08-bareos-storage_24.0.1~pre53.6ffc81313-24_amd64.deb ...
Unpacking bareos-storage (24.0.1~pre53.6ffc81313-24) over (23.1.1-1) ...
Preparing to unpack .../09-bareos-bconsole_24.0.1~pre53.6ffc81313-24_amd64.deb ...
Unpacking bareos-bconsole (24.0.1~pre53.6ffc81313-24) over (23.1.1-1) ...
Preparing to unpack .../10-bareos-common_24.0.1~pre53.6ffc81313-24_amd64.deb ...
Unpacking bareos-common (24.0.1~pre53.6ffc81313-24) over (23.1.1-1) ...
Preparing to unpack .../11-bareos-webui_24.0.1~pre53.6ffc81313-24_all.deb ...
Unpacking bareos-webui (24.0.1~pre53.6ffc81313-24) over (23.1.1-1) ...
Setting up bareos-common (24.0.1~pre53.6ffc81313-24) ...
Setting up bareos-database-postgresql (24.0.1~pre53.6ffc81313-24) ...
Setting up bareos-filedaemon (24.0.1~pre53.6ffc81313-24) ...
/usr/sbin/policy-rc.d returned 101, not running 'try-restart bareos-filedaemon.service'
Setting up bareos-tools (24.0.1~pre53.6ffc81313-24) ...
Setting up bareos-webui (24.0.1~pre53.6ffc81313-24) ...
Module rewrite already enabled
Considering dependency proxy for proxy_fcgi:
Module proxy already enabled
Module proxy_fcgi already enabled
Conf bareos-webui already enabled
Setting up bareos-storage (24.0.1~pre53.6ffc81313-24) ...
tape:x:26:bareos
disk:x:6:bareos
Setting up bareos-bconsole (24.0.1~pre53.6ffc81313-24) ...
Setting up bareos-client (24.0.1~pre53.6ffc81313-24) ...
Setting up bareos-database-common (24.0.1~pre53.6ffc81313-24) ...
(config) dbc_go() bareos-database-common configure 2230.
dbc_config() bareos-database-common configure 2230.
dbc_set_dbtype_defaults() .
dbc_detect_installed_dbtype() pgsql.
_dbc_detect_installed_dbtype() pgsql.
dbc_register_debconf() .
dbc_read_package_config() .
dbc_preseed_package_debconf() .
dbc_config() bareos-database-common configure 2230.
dbc_set_dbtype_defaults() pgsql.
dbc_detect_installed_dbtype() pgsql.
_dbc_detect_installed_dbtype() pgsql.
dbc_register_debconf() .
dbc_get_app_pass() .
(postinst) dbc_go() bareos-database-common configure 2230.
dbc_config() bareos-database-common configure 2230.
dbc_set_dbtype_defaults() .
dbc_read_package_debconf() .
dbc_set_dbtype_defaults() pgsql.
settings determined from dbc_read_package_debconf:.
dbc_install=true.
dbc_upgrade=true.
dbc_remove=true.
dbc_dbtype=pgsql.
dbc_dbuser=bareos.
dbc_dbpass=3LYlcoN6dq3R.
dbc_dballow=localhost.
dbc_dbadmin=postgres.
dbc_dbadmpass=.
dbc_dbserver=localhost.
dbc_dbport=.
dbc_dbname=bareos.
dbc_authmethod_admin=ident.
dbc_authmethod_user=password.
dbc_ssl=.
dbc_write_package_config() .
dbconfig-common: writing config to /etc/dbconfig-common/bareos-database-common.conf
dbc_read_package_config() .
creating database backup in /var/cache/dbconfig-common/backups/bareos-database-common_2230.2025-02-06-08.56.40.
runuser --user root -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.5Isvvf' PGPASSFILE='/tmp/dbconfig-common.psql_home.5Isvvf/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -h 'localhost' -U 'bareos' template1" 2>&1.
runuser --user root -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.M4nOFJ' PGPASSFILE='/tmp/dbconfig-common.psql_home.M4nOFJ/.pgpass' PGSSLMODE='prefer' pg_dump -f "/var/cache/dbconfig-common/backups/bareos-database-common_2230.2025-02-06-08.56.40" -h 'localhost' -U 'bareos' bareos" 2>&1.
_dbc_apply_upgrades() 2240.
applying upgrade sql for 2230 -> 2240.
runuser --user root -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.BEHc8v' PGPASSFILE='/tmp/dbconfig-common.psql_home.BEHc8v/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -h 'localhost' -U 'bareos' bareos" 2>&1.
dbc_postinst_cleanup() .
dbc_forget_dbadmin_password() .
dbconfig-common: flushing administrative password
dbc_forget_app_password() .
Setting up bareos-database-tools (24.0.1~pre53.6ffc81313-24) ...
Setting up bareos-director (24.0.1~pre53.6ffc81313-24) ...
Setting up bareos (24.0.1~pre53.6ffc81313-24) ...
root@e932e682bd56:/# systemctl restart bareos-dir bareos-sd bareos-fd
root@e932e682bd56:/# systemctl restart apache2
root@e932e682bd56:/# bconsole
Connecting to Director localhost:9101
Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
1000 OK: bareos-dir Version: 24.0.1~pre53.6ffc81313 (03 February 2025)
Bareos community build (UNSUPPORTED).
Get professional support from https://www.bareos.com
You are connected using the default console
Enter a period (.) to cancel a command.
*status dri
Automatically selected Storage: File
Connecting to Storage daemon File at e932e682bd56:9103
Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
bareos-sd Version: 24.0.1~pre53.6ffc81313 (03 February 2025) Debian GNU/Linux 11 (bullseye)
Daemon started 06-Feb-25 08:56. Jobs: run=0, running=0, Bareos community binary
Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 bwlimit=0kB/s
There are WARNINGS for this storagedaemon's configuration!
See output of 'bareos-sd -t' for details.
Job inventory:
No Jobs running.
====
Jobs waiting to reserve a drive:
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
===================================================================
1 Full 129 12.52 M OK 06-Feb-25 08:51 backup-bareos-fd
2 Incr 16 5.407 M OK 06-Feb-25 08:53 backup-bareos-fd
3 Incr 16 6.021 M OK 06-Feb-25 08:55 backup-bareos-fd
====
Device status:
Device "FileStorage" (/var/lib/bareos/storage) is not open.
==
====
Used Volume status:
====
====
*status dir
bareos-dir Version: 24.0.1~pre53.6ffc81313 (03 February 2025) Debian GNU/Linux 11 (bullseye)
Daemon started 06-Feb-25 08:56. Jobs: run=0, running=0 db:postgresql, Bareos community binary
Scheduled Jobs:
Level Type Pri Scheduled Name Volume
===================================================================================
Incremental Backup 10 06-Feb-25 21:00 backup-bareos-fd Incremental-0002
Full Backup 11 06-Feb-25 21:10 BackupCatalog Incremental-0002
====
Running Jobs:
Console connected at 06-Feb-25 08:57
No Jobs running.
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
====================================================================
1 Full 129 12.51 M OK 06-Feb-25 08:51 backup-bareos-fd
2 Incr 16 5.405 M OK 06-Feb-25 08:53 backup-bareos-fd
3 Incr 16 6.019 M OK 06-Feb-25 08:55 backup-bareos-fd
Client Initiated Connections (waiting for jobs):
Connect time Protocol Authenticated Name
====================================================================================================
====
*run job=backup-bareos-fd
Using Catalog "MyCatalog"
Run Backup job
JobName: backup-bareos-fd
Level: Incremental
Client: bareos-fd
Format: Native
FileSet: SelfTest
Pool: Incremental (From Job IncPool override)
Storage: File (From Job resource)
When: 2025-02-06 08:57:25
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=4
*m
You have no messages.
*m
06-Feb 08:57 bareos-dir JobId 4: Version: 24.0.1~pre53.6ffc81313 (03 February 2025) Debian GNU/Linux 11 (bullseye)
06-Feb 08:57 bareos-dir JobId 4: Start Backup JobId 4, Job=backup-bareos-fd.2025-02-06_08.57.26_03
06-Feb 08:57 bareos-dir JobId 4: Connected Storage daemon at e932e682bd56:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:57 bareos-dir JobId 4: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:57 bareos-dir JobId 4: Probing client protocol... (result will be saved until config reload)
06-Feb 08:57 bareos-dir JobId 4: Connected Client: bareos-fd at localhost:9102, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:57 bareos-dir JobId 4: Handshake: Immediate TLS
06-Feb 08:57 bareos-dir JobId 4: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:57 bareos-sd JobId 4: Using just in time reservation for job 4
06-Feb 08:57 bareos-dir JobId 4: Using Device "JustInTime Device" to write.
06-Feb 08:57 e932e682bd56-fd JobId 4: Connected Storage daemon at e932e682bd56:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:57 e932e682bd56-fd JobId 4: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
06-Feb 08:57 e932e682bd56-fd JobId 4: Extended attribute support is enabled
06-Feb 08:57 bareos-sd JobId 4: Version: 24.0.1~pre53.6ffc81313 (03 February 2025) Debian GNU/Linux 11 (bullseye)
06-Feb 08:57 e932e682bd56-fd JobId 4: ACL support is enabled
06-Feb 08:57 bareos-sd JobId 4: JustInTime Reservation: Finding drive to reserve.
06-Feb 08:57 e932e682bd56-fd JobId 4: Version: 24.0.1~pre53.6ffc81313 (03 February 2025) Debian GNU/Linux 11 (bullseye)
06-Feb 08:57 bareos-sd JobId 4: Using Device "FileStorage" (/var/lib/bareos/storage) to write.
06-Feb 08:57 bareos-sd JobId 4: Moving to end of data on volume "Incremental-0002"
06-Feb 08:57 bareos-sd JobId 4: Ready to append to end of Volume "Incremental-0002" size=11435429
06-Feb 08:57 bareos-sd JobId 4: Releasing device "FileStorage" (/var/lib/bareos/storage).
06-Feb 08:57 bareos-sd JobId 4: Elapsed time=00:00:01, Transfer rate=6.831 M Bytes/second
06-Feb 08:57 bareos-dir JobId 4: Insert of attributes batch table with 17 entries start
06-Feb 08:57 bareos-dir JobId 4: Insert of attributes batch table done
06-Feb 08:57 bareos-dir JobId 4: Bareos bareos-dir 24.0.1~pre53.6ffc81313 (03Feb25):
Build OS: Debian GNU/Linux 11 (bullseye)
JobId: 4
Job: backup-bareos-fd.2025-02-06_08.57.26_03
Backup Level: Incremental, since=2025-02-06 08:55:00
Client: "bareos-fd" 24.0.1~pre53.6ffc81313 (03Feb25) Debian GNU/Linux 11 (bullseye),debian
FileSet: "SelfTest" 2025-02-06 08:51:06
Pool: "Incremental" (From Job IncPool override)
Catalog: "MyCatalog" (From Client resource)
Storage: "File" (From Job resource)
Scheduled time: 06-Feb-2025 08:57:25
Start time: 06-Feb-2025 08:57:28
End time: 06-Feb-2025 08:57:28
Elapsed time: 0 secs
Priority: 10
Allow Mixed Priority: no
FD Files Written: 17
SD Files Written: 17
FD Bytes Written: 6,830,047 (6.830 MB)
SD Bytes Written: 6,831,774 (6.831 MB)
Rate: 0.0 KB/s
Software Compression: None
VSS: no
Encryption: no
Accurate: no
Volume name(s): Incremental-0002
Volume Session Id: 1
Volume Session Time: 1738832211
Last Volume Bytes: 18,268,889 (18.26 MB)
Non-fatal FD errors: 0
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 OK
There's something on your installation, that make the process broken, you need to recheck your installation jobs and so.