I’m currently planning on deploying some YNH at my job and in some other friendly companies and i was wondering about backup management.
In my idea, each company will have its own server with local backups (likely an USB SSD) but i would like to deploy one more server with a beefed up redundant raid so that backups can also be stored in a remote computer. I was thinking of Restic with multiple repos (one per server).
Has anyone done something like that ? Any advice or comment ?
There is also borg and borgserver that works pretty well.
(And if I remember correctly, it could even replace the current YunoHost backup, somewhere in the backlog)
And it could allow multiple independant users (EDIT : by users i meant separate YNH instances running on distinct machines and locations) to backup separatly their data ? Asking for both borg and archivist
On borg, you say at the installation what you want to backup.
I think (but you can just check it without installing, start the installation process and just do not click install) you can check “all users data”, “system”, and the apps.
Ok kind of like the built in backup engine, but in the first place i was wondering about multiple instances running on separate machines (YNH1, YNH2, YNH3, etc.) to backup on a single one (YNH0) with centralizes backups… I’ll edit my last post to clarify that.
look into using rest-server it is much faster than scp if you were considering that.
i would suggest checking out the restic forums. There are many threads like this and you can see the ideas others have suggested.
This isn’t really a yunohost question, unless you are planning to do yunohost backup and then sending those backups to a restic repo.
i currently have my yunohost running something similar to what you have mentioned. i have daily cron job sending restic data (home folder and nextcloud data directory) to a repo on another server that is running rest-server.
That’s what i want ! Another important thing is that every instance has a private access to only its own remote backups, and only its own. I guess if each instances has a separate account on the backup hosting instance it should be ok.
I do this for my personal setup, I backup multiples Ynh servers on a central one. Works like a charm with Borg and borg-server, to each its own instance/account
Exactly!
And to be extra-precise : the 3 borg clients have to be set up first, since you will need to paste their public key in the borg-server_ynh install process.
(that is, if you want to keep it simple and use only ynh processes. But you can also tweak borg’settings “by hand” later on if needed : storage quota, keys, etc…).