Hi @Johan_J hope this helps backups are super important and theres prob a few different ways you can do it
When i first started using openhab i followed a youtube guide and just left it running it backed up config files automatically and worked perfectly (along with pulling the card and making weekly images) but now i have been using OH for a longer period i moved over too Amanda Backup as it offeres live full sd image backup
are you using Openhabian? Amanda is built into it pretty easy too setup
Here is the method i first used
Another good option for a beginner
shutdown openhab and pull the memory card put it into a mem reader and use a program too completly image the card if card fails or you screw up you can always reflash the card using the image you created this would contain everything you have done
That doc makes Amanda look scary so does alot of other docs around here if I’m honest (too people new too OH text config, code, Linux ect)
Im still pretty new to os’s other than windows and still found Amanda easy too setup after a few vids n posts from here deffinitly not a first time begginers thing tho with so many other things too get running
When I first started I was running on a win 10 Machine had a good experience but quickly learned all the guides are for Linux so struggled too get much done. So now I’m running on a rpi 3 B+ that I’m very happy with it runs OH just fine (and have also learned about RPI because of this and quickly grabbed another for libreELEC)
But I’m thinking about moving too a Linux Vm on my Vm server at some point for more performance with better TTS (currently using pico tts but it’s sounds pretty bad need more human voice :))
The information about installed addons is backuped, but not the addons itself, so when installing openhab2 new, the actual version of the bindings will be installed.
The only things to backup in addition, are the manually installed addons.
That last sentence I think is what you wanted to know.
What are you running OH on and how did you install it?
If installed using openhabian image then your backup will be stored in a zip file. To access this file use cd /var/lib/openhab2/backups this will move you to the current directory. To see the files in this directory use ls -al. You could also use ls -al var/lib/openhab2/backups to see what’s in the directory without actually moving to the directory.
This file will be empty unless you have use this command sudo openhab-cli backup --full to create a backup. You do not necessarily need the “–full” at the end it’s just my preference. With --full the zip file will be around 80m in size, but this will vary depending on how many files, bindings, etc… you have.
BTW, you must type this from the command line after connecting via ssh.