are these folders alone enough too fully restore a completely crashed system if i needed too start from fresh?
my current backup solution backups openhab config files every night too a USB Stick
But i have too take the system offline too take a full sd card image from a different pc i would like amanda too replace this so i don’t need too take the system offline too take an image is this the RAW SD card backup if so how do i enable this now fully setup
Try this in shell. Will print errors if there’s an error in the disklist file:
[22:00:31] openhabian@openhabianpi:/var/log/amanda$ sudo su - backup
[22:00:39] backup@openhabianpi:~$ amcheck openhab-dir
Amanda Tape Server Host Check
-----------------------------
Searching for label 'openhab-dir-009':found in slot 9: volume 'openhab-dir-009'
Will write to volume 'openhab-dir-009' in slot 9.
NOTE: skipping tape-writable test
Server check took 0.800 seconds
Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 3.770 seconds. 0 problems found.
(brought to you by Amanda 3.3.9)
[22:00:46] backup@openhabianpi:~$
What would I need too add too backup the hard drive openhab is installed on I have recently moved my system from an RPI too a Ubuntu VM running on hyper-v so obviously there is no longer a mmcblk0 as there’s no longer an sd card in my setup
I used Hyper-V snapshot today too restore my system too an earlier state set it too the 28th this month and need too recover my items and rules running the commands too get into my backups it lists the backups for the date the 28th how do i change too todays backups the 31st i have forgotten the command and cant find a reference on how too do this
[22:53:09] sharpy@openhabian:/etc$ sudo bash
root@openhabian:/etc# amrecover openhab-dir
AMRECOVER Version 3.5.1. Contacting server on localhost ...
220 openhabian AMANDA index server (3.5.1) ready.
Setting restore date to today (2020-01-31)
200 Working date set to 2020-01-31.
200 Config set to openhab-dir.
200 Dump host set to openhabian.
Use the setdisk command to choose dump disk to recover
amrecover> listdisk
200- List of disk for host openhabian
201- /etc/openhab2
201- /var/lib/openhab2
201- /dev/sda1
201- /dev/sda2
200 List of disk for host openhabian
amrecover> setdisk /etc/openhab2
200 Disk set to /etc/openhab2.
amrecover>
amrecover> ls
2020-01-28-01-00-01 transform/
2020-01-28-01-00-01 things/
2020-01-28-01-00-01 sounds/
2020-01-28-01-00-01 sitemaps/
2020-01-28-01-00-01 services/
2020-01-28-01-00-01 scripts/
2020-01-28-01-00-01 rules/
2020-01-28-01-00-01 persistence/
2020-01-28-01-00-01 items/
2020-01-28-01-00-01 icons/
2020-01-28-01-00-01 html/
2020-01-28-01-00-01 .
amrecover>
it does say its set the dates too 31st but as you can see its listed backups for 28th but i definitely have copies stored for all dates not just the 28th