I configured amanda successfully with my main OH3 installation and it backups on my NAS (Synology).
On my OH2 installation (separate Pi) I did the exact same thing (exept different mount) and get the following mailed to me every day:
What does '/bin/tar' binary is not secure
mean?
(creating files, changing files and deleting files works with the backup
user, of course)
Hostname: OH2Rossbuehel
Org : openHABian openhab-dir
Config : openhab-dir
Date : April 14, 2021
These dumps were to tape openHABian-openhab-dir-001.
The next 10 tapes Amanda expects to use are: 10 new tapes.
FAILURE DUMP SUMMARY:
OH2Rossbuehel /boot lev 0 FAILED [amgtar: '/bin/tar' binary is not secure]
OH2Rossbuehel /boot lev 0 partial taper: dumper failed
OH2Rossbuehel /boot lev 0 FAILED [amgtar: '/bin/tar' binary is not secure]
OH2Rossbuehel /boot lev 0 partial taper: dumper failed
OH2Rossbuehel /etc lev 0 FAILED [amgtar: '/bin/tar' binary is not secure]
OH2Rossbuehel /etc lev 0 partial taper: dumper failed
OH2Rossbuehel /etc lev 0 FAILED [amgtar: '/bin/tar' binary is not secure]
OH2Rossbuehel /etc lev 0 partial taper: dumper failed
OH2Rossbuehel /var/lib/openhab2 lev 0 FAILED [amgtar: '/bin/tar' binary is not secure]
OH2Rossbuehel /var/lib/openhab2 lev 0 partial taper: successfully taped a partial dump
OH2Rossbuehel /var/lib/openhab2 lev 0 FAILED [amgtar: '/bin/tar' binary is not secure]
OH2Rossbuehel /var/lib/openhab2 lev 0 partial taper: dumper failed
STATISTICS:
Total Full Incr. Level:#
-------- -------- -------- --------
Estimate Time (hrs:min) 0:00
Run Time (hrs:min) 0:02
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:02 0:02 0:00
Tape Size (meg) 0.0 0.0 0.0
Tape Used (%) 0.0 0.0 0.0
DLEs Taped 6 6 0
Parts Taped 6 6 0
Avg Tp Write Rate (k/s) 0.0 0.0 --
USAGE BY TAPE:
Label Time Size % DLEs Parts
openHABian-openhab-dir-001 0:02 0k 0.0 6 6
FAILED DUMP DETAILS:
/-- OH2Rossbuehel /boot lev 0 FAILED [amgtar: '/bin/tar' binary is not secure]
sendbackup: info BACKUP=APPLICATION
sendbackup: info APPLICATION=amgtar
sendbackup: info RECOVER_CMD=/bin/gzip -dc |/usr/lib/amanda/application/amgtar restore [./file-to-restore]+
sendbackup: info COMPRESS_SUFFIX=.gz
sendbackup: info end
sendbackup: error [amgtar: '/bin/tar' binary is not secure]
? '/bin/tar' binary is not secure
? Application (15378) amgtar returned 1
\--------
/-- OH2Rossbuehel /boot lev 0 FAILED [amgtar: '/bin/tar' binary is not secure]
sendbackup: info BACKUP=APPLICATION
sendbackup: info APPLICATION=amgtar
sendbackup: info RECOVER_CMD=/bin/gzip -dc |/usr/lib/amanda/application/amgtar restore [./file-to-restore]+
sendbackup: info COMPRESS_SUFFIX=.gz
sendbackup: info end
sendbackup: error [amgtar: '/bin/tar' binary is not secure]
? '/bin/tar' binary is not secure
? Application (15420) amgtar returned 1
\--------
/-- OH2Rossbuehel /etc lev 0 FAILED [amgtar: '/bin/tar' binary is not secure]
sendbackup: info BACKUP=APPLICATION
sendbackup: info APPLICATION=amgtar
sendbackup: info RECOVER_CMD=/bin/gzip -dc |/usr/lib/amanda/application/amgtar restore [./file-to-restore]+
sendbackup: info COMPRESS_SUFFIX=.gz
sendbackup: info end
sendbackup: error [amgtar: '/bin/tar' binary is not secure]
? '/bin/tar' binary is not secure
? Application (15364) amgtar returned 1
\--------
/-- OH2Rossbuehel /etc lev 0 FAILED [amgtar: '/bin/tar' binary is not secure]
sendbackup: info BACKUP=APPLICATION
sendbackup: info APPLICATION=amgtar
sendbackup: info RECOVER_CMD=/bin/gzip -dc |/usr/lib/amanda/application/amgtar restore [./file-to-restore]+
sendbackup: info COMPRESS_SUFFIX=.gz
sendbackup: info end
sendbackup: error [amgtar: '/bin/tar' binary is not secure]
? '/bin/tar' binary is not secure
? Application (15405) amgtar returned 1
\--------
/-- OH2Rossbuehel /var/lib/openhab2 lev 0 FAILED [amgtar: '/bin/tar' binary is not secure]
sendbackup: info BACKUP=APPLICATION
sendbackup: info APPLICATION=amgtar
sendbackup: info RECOVER_CMD=/bin/gzip -dc |/usr/lib/amanda/application/amgtar restore [./file-to-restore]+
sendbackup: info COMPRESS_SUFFIX=.gz
sendbackup: info end
sendbackup: error [amgtar: '/bin/tar' binary is not secure]
? '/bin/tar' binary is not secure
? Application (15344) amgtar returned 1
\--------
/-- OH2Rossbuehel /var/lib/openhab2 lev 0 FAILED [amgtar: '/bin/tar' binary is not secure]
sendbackup: info BACKUP=APPLICATION
sendbackup: info APPLICATION=amgtar
sendbackup: info RECOVER_CMD=/bin/gzip -dc |/usr/lib/amanda/application/amgtar restore [./file-to-restore]+
sendbackup: info COMPRESS_SUFFIX=.gz
sendbackup: info end
sendbackup: error [amgtar: '/bin/tar' binary is not secure]
? '/bin/tar' binary is not secure
? Application (15344) amgtar returned 1
\--------
/-- OH2Rossbuehel /var/lib/openhab2 lev 0 FAILED [amgtar: '/bin/tar' binary is not secure]
sendbackup: info BACKUP=APPLICATION
sendbackup: info APPLICATION=amgtar
sendbackup: info RECOVER_CMD=/bin/gzip -dc |/usr/lib/amanda/application/amgtar restore [./file-to-restore]+
sendbackup: info COMPRESS_SUFFIX=.gz
sendbackup: info end
sendbackup: error [amgtar: '/bin/tar' binary is not secure]
? '/bin/tar' binary is not secure
? Application (15392) amgtar returned 1
\--------
NOTES:
planner: Adding new disk OH2Rossbuehel:/boot.
planner: Adding new disk OH2Rossbuehel:/etc.
planner: Adding new disk OH2Rossbuehel:/var/lib/openhab2.
planner: WARNING: no history available for OH2Rossbuehel:/var/lib/openhab2; guessing that size will be 170496 KB
planner: WARNING: no history available for OH2Rossbuehel:/etc; guessing that size will be 170496 KB
planner: WARNING: no history available for OH2Rossbuehel:/boot; 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 0 fm 6 [OK]
DUMP SUMMARY:
DUMPER STATS TAPER STATS
HOSTNAME DISK L ORIG-kB OUT-kB COMP% MMM:SS KB/s MMM:SS KB/s
--------------------------------- ---------------------- -------------- -------------
OH2Rossbuehel /boot 0 -- PARTIAL 0:18 0.0 PARTIAL
OH2Rossbuehel /etc 0 -- PARTIAL 0:18 0.0 PARTIAL
OH2Rossbuehel /var/lib/openhab2 0 -- PARTIAL 0:31 0.0 PARTIAL
(brought to you by Amanda version 3.3.9)
fwiw:
openhabian@OH2Rossbuehel:~ $ /bin/tar --version
tar (GNU tar) 1.29
Copyright © 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL Version 3 oder später <http://gnu.org/licenses/gpl.html>
Dies ist freie Software: Sie dürfen sie ändern und weiter verbreiten.
Es gibt KEINERLEI GARANTIE, so weit das Gesetz es erlaubt.
Geschrieben von John Gilmore und Jay Fenlason.