I have some general queries regarding application like Next Cloud or MinIO.
If we want to install Next Cloud or MinIO on TrueNAS Scale then what is the best practice for the set up?
Can we use RAID for the boot disk means where TrueNAS Scale would be install?
If there is nor RAID for boot disk and we face disk failure then what is the best practice?
If any application like Next Cloud or MinIO is installed on TrueNAS Scale and boot disk is failed in that case what would be best way to recover everything including Applications.
@sanjib, welcome to the community and as i have been using nextcloud on truenas for sometime i figured i would take a stab at a reply for you.
1 - the best practice for your setup is somewhat dependent on your environment and your setup of truenas. for me the best practice i’ve found is to setup nextcloud using the community app using the docker services in truenas. i’ve setup nextcloud as a vm and a jail in the past and have to say that the easiest path to good stability is with the community app offered under SCALE and EE. installing the app gives you all the options needed for a good stable install and a path forward for upgrades.
2 - RAID is not recommended for truenas installs. the recommended setup for boot drive redundancy is to have two drives available for boot, install truenas on one of them and then setup a mirrored pair.
3 - as noted in question 2, a mirrored pair setup under the truenas os is best practice.
4 - ensuring that you take regular backups of your truenas config and your apps using snapshots and such all that is needed to recover the system is to reinstall truenas again after fixing the issue and then appying your saved config to the new install at which point it then looks just like the system before the incident. ensuring you have your apps backed up with snapshots will give you the ability to restore one of them should something occur to the app itself.
if HA and Fault Tolerance is important to you I suggest setting up two servers, one for active use and one as a secondary fail over machine. You can then set them up identically and mirror your snapshots from the primary to the secondary and should something occur with the primary you can activate the apps after importing the snapshots on the secondary system.