Backing up Proxmox VMs to the cloud
from root@lemmy.world to homelab@lemmy.ml on 30 Jun 20:31
https://lemmy.world/post/32286165

I have had Proxmox running nightly backups and saving them to my NAS for years now without any issues. I’ve been thinking that it would also be nice to have these copied over to my cloud storage (some smaller company, no available plugins).

I know Proxmox Backup Server exists, but not much more than that other than it can backup to popular cloud providers.

The cloud provider I have has a Linux client that will create a shared folder on the system. My thought was to mount the Proxmox VM backup location with CIFS, install my cloud client and then write a script to run as a cronjob that would copy files from the Proxmox VM to the cloud folder each night.

This feels a bit clunky so I just wanted to ask if anyone knew of a better solution.

#homelab

threaded - newest

MangoPenguin@lemmy.blahaj.zone on 30 Jun 21:43 collapse

My cloud backup method is running Restic inside any VMs or Containers with important data (I use Backrest to manage it easily).

The reason is I don’t want to be backing up caches, logs, and other junk that isn’t important to cloud storage, since it’s just wasted storage space and bandwidth.

root@lemmy.world on 30 Jun 22:58 collapse

Oh this looks interesting, thank you. So you basically just backup the relevant parts of the file system and then use this to restore in case of an incident/ emergency? A little more hands on than just restoring from a Proxmox backup, but probably also more agnostic/ interoperable.

MangoPenguin@lemmy.blahaj.zone on 30 Jun 23:44 collapse

Yeah, I have local proxmox backups to an external HDD for stuff like “oops I broke it” or a drive failure, but the online backups are for something catastrophic like the house burned down with the server in it, so I’m not particularly worried about them being more work to restore.