I installed restic (cmd tool not the app) on my yunohost server.
I want to save all important data from my apps, like nextcloud, trilium… and so on, on a NAS.
I added “/var/www” and “/home/yunohost.app” and I am a bit afraid I miss something? What else is important to not loose data? Or can we use the Snapshot functionality (but I have limited space on my local yunohost ).
I am missing some experience in WHAT I have to backup so I can restore all important data.
That’s a very personal question. Just imagine you had to reinstall the whole server again, what data would give you pain if it disappeared or was corrupt?
If you can have borg on your NAS, i think you should use the borg_ynh package that have a best quality i think than restic_ynh (but i am a bit partial).
Restic_ynh
In second, you can use restic_ynh package (but be sure to well check your backup regularly even if i can give the same advice for borg ^^)
You should also add:
/etc
/home (except /home/yunohost.backup)
/var/mail
And maybe xmpp stuff if you use it
By hand with a hook and restic
An other way to do it by hand, if you know a bit bash, you can use the hook mechanism to use the yunohost backup features coupled with restic without need space in /home/yunohost.backup/archives.But in this last case, i suggest you to use the restic_ynh and fix what is annoying you if it’s relevant.
I’m very new to self-hosting and yunohost, so apologies for a basic question.
I want to automatically make backups of my entire yunohost server (not just the yunohost parts, all of yunohost plus the debian base) into an S3 bucket. Is that the same as backing up the root (/) directory? Is this considered a “snapshot image” of my entire SSD drive? If my SSD drive fails, I want to be able to buy a new SSD and install the ‘snapshot image’ onto it so that everything is exactly the same as before the SSD failure.
Do any of the available yunohost apps like Borg or restic allow this to occur? I’ve been trying to follow the tutorials and posts, but they seem to only involve backing up the yunohost parts, not the debian parts.