I want to do OTA (Over The Air) updates in my Raspberry Pi. I have seen a lot of services on the internet like mender.io, but they are all quite expensive. Is there any easy/less expensive way to do OTA updates in my RPI? For example, I have 2 partitons in my RPI. In one partition my current OS is running, and now I download the updated OS and would like to install it on 2nd partition. If the installation gets completed without any problem then the bootloader will boot from this partition next time.
Can somebody guide me how can this be achievable?
apt update; apt upgrade
), it's not clear what you are looking for...apt
has been deployed everywhere for a long time. You should try to learn about that first, before you assume it doesn't cover most of what you want. After that, you should investigate automated configuration managers such as chef or puppet, and conventional, efficient methods of incremental backup such as rsync...