Unfortunately the Yunohost image for Raspberry Pi does not implement that.
Move your system to SSD
- do the regular setup on the sd-card
- extract the card
- with your laptop copy the
rootpartition from sd-card to SSD. You can use the command lineddor simply the graphical tolgnome-disk(backup and restore a partition). - expand the partition to the disk size using something like
resize2fs /dev/sda1 - edit the
/boot/cmdline.txten tell where the newrootis
Add a backup disk
- Edit
/etc/fstabto permanently mount the partition(s) on your HDD - For example, add some external storage in Nextcloud
- Use a scheduled backup tool or script to backup on SSD and copy backups on HDD. I keep 7 days backup on SSD and 21 days backup on HDD.
This is not a fully documented tutorials. I have no time for writing more details now but this give you hints, and maybe someone can correct/complete it.