This is the first time I have not been able to google the answer after many attempts to. I’m hoping the community can help me out. I have a fairly new openHAB setup in our home (yeah!) and now I’m trying to back up my SD card to protect from SD card corruption. NOOB here
Here is the process I followed
- Added a USB SSD storage device
- Partitioned it into two ext4 storage devices (gdisk)
- mounted them for amanda backup and an log/persistance storage (haven’t setup the latter yet)
- verified they are setup and accessible
- installed amanda
- reboot the system for good measure
Here is my amchek output
Amanda Tape Server Host Check
-----------------------------
Searching for label 'openHABian-openhab-dir-006':found in slot 6: volume 'openHABian-openhab-dir-006'
Will write to volume 'openHABian-openhab-dir-006' in slot 6.
NOTE: skipping tape-writable test
NOTE: info dir /var/lib/amanda/openhab-dir/curinfo/openHABianPi/_dev_mmcblk0 does not exist
NOTE: it will be created on the next run.
NOTE: index dir /var/lib/amanda/openhab-dir/index/openHABianPi/_dev_mmcblk0 does not exist
NOTE: it will be created on the next run.
Server check took 0.713 seconds
Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 3.641 seconds. 0 problems found.
(brought to you by Amanda 3.3.9)
Ran the dump just fine
Here is my amreport
Org : openHABian openhab-dir
Config : openhab-dir
Date : March 23, 2019
These dumps were to tapes openHABian-openhab-dir-011, openHABian-openhab-dir-012, openHABian-openhab-dir-013, openHABian-openhab-dir-014, openHABian-openhab-dir-015, openHABian-openhab-dir-001, openHABian-openhab-dir-002, openHABian-openhab-dir-003, openHABian-openhab-dir-004, openHABian-openhab-dir-005.
Not using all tapes because 10 tapes filled; runtapes=10 does not allow additional tapes.
No dumps are left in the holding disk.
The next 10 tapes Amanda expects to use are: openHABian-openhab-dir-006, openHABian-openhab-dir-007, openHABian-openhab-dir-008, openHABian-openhab-dir-009, openHABian-openhab-dir-010, openHABian-openhab-dir-011, openHABian-openhab-dir-012, openHABian-openhab-dir-013, openHABian-openhab-dir-014, openHABian-openhab-dir-015.
FAILURE DUMP SUMMARY:
openHABianPi /etc/openhab2 lev 0 FAILED [10 tapes filled; runtapes=10 does not allow additional tapes]
openHABianPi /var/lib/openhab2 lev 0 FAILED [10 tapes filled; runtapes=10 does not allow additional tapes]
openHABianPi /dev/mmcblk0 lev 0 FAILED [dump estimate ( 7779072 KB ) is larger than available tape space ( 30720 KB ), but cannot incremental dump new disk]
openHABianPi /var/lib/openhab2 lev 0 FAILED [data write: Connection reset by peer]
openHABianPi /var/lib/openhab2 lev 0 partial taper: 10 tapes filled; runtapes=10 does not allow additional tapes
STATISTICS:
Total Full Incr. Level:#
-------- -------- -------- --------
Estimate Time (hrs:min) 0:12
Run Time (hrs:min) 0:12
Dump Time (hrs:min) 0:00 0:00 0:00
Output Size (meg) 28.4 28.4 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) 28.4 28.4 0.0
Tape Used (%) 948.3 948.3 0.0
DLEs Taped 1 1 0
Parts Taped 10 10 0
Avg Tp Write Rate (k/s) 14560.0 14560.0 --
USAGE BY TAPE:
Label Time Size % DLEs Parts
openHABian-openhab-dir-011 0:00 2912k 94.9 1 1
openHABian-openhab-dir-012 0:00 2912k 94.9 0 1
openHABian-openhab-dir-013 0:00 2912k 94.9 0 1
openHABian-openhab-dir-014 0:00 2912k 94.9 0 1
openHABian-openhab-dir-015 0:00 2912k 94.9 0 1
openHABian-openhab-dir-001 0:00 2912k 94.9 0 1
openHABian-openhab-dir-002 0:00 2912k 94.9 0 1
openHABian-openhab-dir-003 0:00 2912k 94.9 0 1
openHABian-openhab-dir-004 0:00 2912k 94.9 0 1
openHABian-openhab-dir-005 0:00 2912k 94.9 0 1
FAILED DUMP DETAILS:
/-- openHABianPi /var/lib/openhab2 lev 0 FAILED [data write: Connection reset by peer]
sendbackup: start [openHABianPi:/var/lib/openhab2 level 0]
sendbackup: info BACKUP=/bin/tar
sendbackup: info RECOVER_CMD=/bin/tar -xpGf - ...
sendbackup: info end
\--------
NOTES:
planner: Adding new disk openHABianPi:/dev/mmcblk0.
planner: Last full dump of openHABianPi:/etc/openhab2 on tape openHABian-openhab-dir-011 overwritten on this run.
planner: disk openHABianPi:/dev/mmcblk0, full dump (7779072KB) will be larger than available tape space, you could define a splitsize
planner: Full dump of openHABianPi:/etc/openhab2 promoted from 12 days ahead.
planner: WARNING: no history available for openHABianPi:/var/lib/openhab2; guessing that size will be 1536 KB
taper: tape openHABian-openhab-dir-011 kb 2912 fm 1 [OK]
taper: tape openHABian-openhab-dir-012 kb 2912 fm 1 [OK]
taper: tape openHABian-openhab-dir-013 kb 2912 fm 1 [OK]
taper: tape openHABian-openhab-dir-014 kb 2912 fm 1 [OK]
taper: tape openHABian-openhab-dir-015 kb 2912 fm 1 [OK]
taper: tape openHABian-openhab-dir-001 kb 2912 fm 1 [OK]
taper: tape openHABian-openhab-dir-002 kb 2912 fm 1 [OK]
taper: tape openHABian-openhab-dir-003 kb 2912 fm 1 [OK]
taper: tape openHABian-openhab-dir-004 kb 2912 fm 1 [OK]
taper: tape openHABian-openhab-dir-005 kb 2912 fm 1 [OK]
DUMP SUMMARY:
DUMPER STATS TAPER STATS
HOSTNAME DISK L ORIG-kB OUT-kB COMP% MMM:SS KB/s MMM:SS KB/s
-------------------------------- ---------------------- -------------- --------------
openHABianPi /dev/mmcblk0 FAILED
openHABianPi /etc/openhab2 FAILED
openHABianPi /var/lib/openhab2 0 29120 -- PARTIAL 0:02 14560.0 PARTIAL