Yeah, Proxmox has a built in backup utility. I use it for nightly backup of all VMs and LXCs to cifs share on my NAS.
Comment on Selfhosted backup solution with GUI
ShellMonkey@lemmy.socdojo.com 1 year ago
It has been a while since I used proxmox, but I seem to recall it having an option to export the VMs on a periodic cafamce to an external host built in? That would solve for the configured system backup issue if it still exists. Mote directly, my preffered method is in keeping the payload objects (photos/files) on a separate dedicated storage NAS with RAID and automatic zfs dataset snapshots to accomodate for both a disk failing and the ‘oh shit, I meant to delete the file not the whole folder!’ type of losses. For a NAS in my case I use xigmanas, which is the predicessor to corenas, fka freenas largely because it doesn’t try to be too fancy, just serve the drives and provide some ancilary services around that job.
So long version short, what particularly are you trying to back up? The pictures or the service hosting them?
TechAdmin@lemmy.world 1 year ago
atek@lemm.ee 1 year ago
I guess I just want to make sure the pictures are safe. Next to that I’ll backup my /home/user folder, but next to that it’s not that hard to rebuild my VMs.
ShellMonkey@lemmy.socdojo.com 1 year ago
Simplest way there is to keep them on a dedicated storage system that you don’t even need to access directly for the most part. If there’s one thing I learned over many years playing with servers is that the end user/admin is more a hazard to your data than the system failing ever could be. A raid01 will automatically protect you if one of the hardrives happens to die without thinking about it, but will just as quickly delete everything on both drives if you run the wrong command.
My nightmare example from personal experience, installing a new pair of drives with the intent to migrate to them.
Install drive ‘b’, rsync -a dive ‘a’ to ‘b’ Wipe ‘a’ for storge/disposal, Install new drive ‘a’ to original slot of ‘a’ Start second rsync intended to be ‘b’ to ‘a’ but forget to change drives and instead sync the new blank ‘a’ to ’ b’ with the only copy of your data…
Fortunately I managed to get most everything back with some data recovery tools, but that second after pressing enter and watching it all go away was wrenching. Since then I’ve become a lot more aware of having a certain level of protection against human error.