Hi All,
I have placed this thread in ‘off-topic’ as I was not sure where it belonged.
I feel with the holiday season almost upon us, the need to change OS to a new major releases and the introduction of OH3, A need to do some serious maintenance preparation.
I have Amanda scheduling backups everynight and I get the emails to say whe has done so and what slot has been used etc… But to be honest it mans very little to me.
My Setup
I have just upgraded to the very latest OH 2.5.11-1 version and so far my process for that has worked quite well, so I am happy with that and my starting position
As my Openhab instance runs in a virtual machine, which is shutdown once a week, a full image copy is performed and then the VM is started back up all this is automated while I sleep. This has been running for a year really well and I keep two full image backups before overwriting, so if anything ever goes wrong I go and start up the last image.
I am currently on Debian and have no driver to change to another distro. But as it is using Jessie I need to upgrade to Buster. I have previously tried an upgrade direct between versions and it did not go well, mainly because of my-sql. Since then I have removed my dependency from my-sql and I am considering another attempt at a in place upgrade rather than a new build. Any views on this?
I would also like to prepare myself for the new build approach and would like to make sure I have the process as clear as possible in my head.
Objective
I would like to rebuild the OS while still using OH2 and then tackle the move from OH2 to OH3 as a different event.
Doing it this way I am thinking for an OS new build, I need to
- Build Debian Buster Virtual Machine
- Install OH2 (openhabian on linux)
- Install all the extra packages that I need for extra scripts, tools, etc
- Amanda Recovery from latest backup
- Confirm working . solve minor issues
Concerns
The two main areas that scare me are #3 and #4.
Over the years, I will have introduced many different tools that I have loaded and installed on the OH server and now I have to find which ones are still needed and which can be left behind, scary!
And I have NEVER tried to recover a backup from Amanda, I am thinking I should try this as a separate task using a copy of one of my clones to make sure that they recover with the same machine before I try doing the procedure on a new OS machine.
Where do I look at the way to recover from Amanda, so far when I look on line my eyes glase over, I think I set up amanda using the openhabian config tool so I am hoping there may be a simple way to test that is true, and also the process to recover is something that will have been thought about with the configuration applied and possible some steps outlined to perform the task. Summary, Is there a simple command I run to recover using latest backup?
Next Steps
I am looking for discussion, a little hand holding / assurance, that I am doing things sensibly and not running into a burning building.
Even writing this down is preparing me for the tasks I need to perform
Hoping this thread may assist others that are looking at this task also.
Regards
Paul