I hope someone can explain to me how to make a backup correctly.
System Truenas Scale, with multiple datasets. The directory from Truenas is mounted for user data.
Nextcloud is installed on a virtual machine, which means its data is not in the Truenas dataset.
Also, all users are registered in authentik, and the login page is used by authentik. OpenID is configured for login and registration.
Now to the question: how do I properly back up everything needed for Nextcloud so that I can both simply restore the data and, for example, link the database and user data in a new installation?
I’d be grateful if anyone could share their experience with this.