Synchronize data between 2 external storages

Hello everyone,

My YunoHost server

Hardware: Raspberry Pi 4B at home + 2 external storages
YunoHost version: 4.0.8.3
I have access to my server : Through SSH | through the webadmin

I use an external storage to stock my data through nextcloud. I would like to synchronize this storage with another one in order to save the data in the case where the first storage crash. How can I do it ?

Thank you !

I imagine 2 solutions:

  • Use a rsync command to synchronize your data and a cron task
  • Configure a software raid 1 with mdadm

Hello Ijf,
Thank you for your answer.
I did not know both solutions. The solution with a raid 1 seems to be more reliable. Can you give me your opinion ? What is the easiest solution to implement for a novice like me ? :wink:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.