December-12th-2019, 03:08 PM
Hello Armin,
thank you for the answer. This indeed sounds as a viable solution for this kind of task. I will have a closer look on it.
In the meantime, I would like to share my experience with the SD card image backup/restore method. I have found out about this boot behaviour, your have pointed out, the hard way (one NetPI's BOOT and RESC partitions have been lost, thus we have non functional device).
Then I have tried a slightly different approach. I have created backup only from the third partition (partition with SYSTEM and BACKUP volumes), shrinked it a bit (so it will fit any SD card /each card differ slightly in size/) and then replaced only this third partition on new NetPI with the backup.
With this approach I've got a working NetPI with all the settings and containers set as required for production.
So we will examine both methods and choose one (I personally like your idea more, we will see).
Regards,
Martin.
thank you for the answer. This indeed sounds as a viable solution for this kind of task. I will have a closer look on it.
In the meantime, I would like to share my experience with the SD card image backup/restore method. I have found out about this boot behaviour, your have pointed out, the hard way (one NetPI's BOOT and RESC partitions have been lost, thus we have non functional device).
Then I have tried a slightly different approach. I have created backup only from the third partition (partition with SYSTEM and BACKUP volumes), shrinked it a bit (so it will fit any SD card /each card differ slightly in size/) and then replaced only this third partition on new NetPI with the backup.
With this approach I've got a working NetPI with all the settings and containers set as required for production.
So we will examine both methods and choose one (I personally like your idea more, we will see).
Regards,
Martin.