Fatal error when installing Amanda Backup (via openhabian-config)

Hi @mstormi, I deleted all files on a 32GB USB stick. Then i checked the usb stick:

$ ls /dev/sd*
/dev/sda  /dev/sda1

Then i changed the file system on it to ext4:

$ sudo mkfs.ext4 /dev/sda1
mke2fs 1.43.4 (31-Jan-2017)
/dev/sda1 contains a vfat file system
Proceed anyway? (y,N) y
Creating filesystem with 7591244 4k blocks and 1900544 inodes
Filesystem UUID: 68a04dbe-f5ff-4a45-8897-16c632e29f6b
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
  • i mounted it again to /mnt/usb
  • i started sudo openhabian-config again to configure Amanda Backup.
  • switched to user backup sudo su - backup
~$ amcheck openhab-dir
Amanda Tape Server Host Check
-----------------------------
slot 1: contains an empty volume
Will write label 'openHABian-openhab-dir-001' to new volume in slot 1.
NOTE: skipping tape-writable test
NOTE: host info dir /var/lib/amanda/openhab-dir/curinfo/openHABianPi does not exist
NOTE: it will be created on the next run.
NOTE: index dir /var/lib/amanda/openhab-dir/index/openHABianPi does not exist
NOTE: it will be created on the next run.
Server check took 1.454 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 3.164 seconds.  0 problems found.

(brought to you by Amanda 3.3.9)

This looks good, i think…

[14:07:11] backup@openHABianPi:~$ amcheck openhab-dir
Amanda Tape Server Host Check
-----------------------------
slot 1: contains an empty volume
Will write label 'openHABian-openhab-dir-001' to new volume in slot 1.
NOTE: skipping tape-writable test
NOTE: host info dir /var/lib/amanda/openhab-dir/curinfo/openHABianPi does not exist
NOTE: it will be created on the next run.
NOTE: index dir /var/lib/amanda/openhab-dir/index/openHABianPi does not exist
NOTE: it will be created on the next run.
Server check took 1.454 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 3.164 seconds.  0 problems found.

(brought to you by Amanda 3.3.9)
[14:07:28] backup@openHABianPi:~$ amreport openhab-dir
*** THE DUMPS DID NOT FINISH PROPERLY!

The next 10 tapes Amanda expects to use are: 10 new tapes.


FAILURE DUMP SUMMARY:
  planner: FATAL errors processing config file
  driver: FATAL errors processing config file



STATISTICS:
                          Total       Full      Incr.   Level:#
                        --------   --------   --------  --------
Estimate Time (hrs:min)     0:00
Run Time (hrs:min)          0:00
Dump Time (hrs:min)         0:00       0:00       0:00
Output Size (meg)            0.0        0.0        0.0
Original Size (meg)          0.0        0.0        0.0
Avg Compressed Size (%)      --         --         --
DLEs Dumped                    0          0          0
Avg Dump Rate (k/s)          --         --         --

Tape Time (hrs:min)         0:00       0:00       0:00
Tape Size (meg)              0.0        0.0        0.0
Tape Used (%)                0.0        0.0        0.0
DLEs Taped                     0          0          0
Parts Taped                    0          0          0
Avg Tp Write Rate (k/s)      --         --         --


DUMP SUMMARY:
                                                   DUMPER STATS   TAPER STATS
HOSTNAME     DISK        L ORIG-kB  OUT-kB  COMP%  MMM:SS   KB/s MMM:SS   KB/s
-------------------------- ---------------------- -------------- -------------

(brought to you by Amanda version 3.3.9)
[14:11:02] backup@openHABianPi:~$ amdump openhab-dir
[14:11:56] backup@openHABianPi:~$ amreport openhab-dir
Hostname: openHABianPi
Org     : openHABian openhab-dir
Config  : openhab-dir
Date    : February 25, 2019

These dumps were to tape openHABian-openhab-dir-001.
The next 10 tapes Amanda expects to use are: 10 new tapes.


STATISTICS:
                          Total       Full      Incr.   Level:#
                        --------   --------   --------  --------
Estimate Time (hrs:min)     0:00
Run Time (hrs:min)          0:00
Dump Time (hrs:min)         0:00       0:00       0:00
Output Size (meg)           81.9       81.9        0.0
Original Size (meg)         81.9       81.9        0.0
Avg Compressed Size (%)    100.0      100.0        --
DLEs Dumped                    2          2          0
Avg Dump Rate (k/s)       5315.7     5315.7        --

Tape Time (hrs:min)         0:00       0:00       0:00
Tape Size (meg)             81.9       81.9        0.0
Tape Used (%)               24.6       24.6        0.0
DLEs Taped                     2          2          0
Parts Taped                    2          2          0
Avg Tp Write Rate (k/s)   5947.5     5947.5        --

USAGE BY TAPE:
  Label                        Time         Size      %  DLEs Parts
  openHABian-openhab-dir-001   0:00       83860k   24.6     2     2



NOTES:
  planner: Adding new disk openHABianPi:/etc/openhab2.
  planner: Adding new disk openHABianPi:/var/lib/openhab2.
  planner: WARNING: no history available for openHABianPi:/var/lib/openhab2; guessing that size will be 170496 KB
  planner: WARNING: no history available for openHABianPi:/etc/openhab2; guessing that size will be 170496 KB
  taper: Slot 1 without label can be labeled
  taper: Slot 2 without label can be labeled
  taper: tape openHABian-openhab-dir-001 kb 83860 fm 2 [OK]
  big estimate: openHABianPi /etc/openhab2 0
                  est: 170528k    out 350k


DUMP SUMMARY:
                                                         DUMPER STATS   TAPER STATS
HOSTNAME     DISK              L ORIG-kB  OUT-kB  COMP%  MMM:SS   KB/s MMM:SS   KB/s
-------------------------------- ---------------------- -------------- -------------
openHABianPi /etc/openhab2     0     350     350     --    0:01  239.6   0:00 3500.0
openHABianPi /var/lib/openhab2 0   83510   83510     --    0:14 5833.1   0:14 5965.0

(brought to you by Amanda version 3.3.9)
You have new mail in /var/mail/backup
[14:12:13] backup@openHABianPi:~$

But here, i do not see that the whole sd-card has been backup-ed… It is definitely not the same as i see in the openhabian-amanda.md
THE DUMPS DID NOT FINISH PROPERLY! What am I doing wrong? Btw, i filled in 5000 for the Storage capacity.

of course not, you probably unselected that on install. You can add a line for the partition to the disklist file now to have it included on next amdump run.

You ran amreport before running amdump for the first time, so this is expected outcome.