Set up - with external storage

Any advice or clear resource on steps needed to take when installing nextcloud on a raspberrypi I want to have the storage on an external disk which has two partitions one for data and one for backup files


The PARTUUID of the partition needs to be in /etc/fstab
then systemctl daemon-reload
and it worked!