@.n3 , sorry for hijacking your thread ;-)
@Johannes S : I'm somewhat in the same boat, allow me to ask for clarification
a) What do you mean with cloud vserver? Not the linux-vserver project I suppose ;-) but rather a 'fluid' cloud-based offer than a regular VPS or a homeserver?
A VPS like the ones by contabo, netcup or hetzner
I host my offsite PBS that way but the costs of bucks/GB means that they are not really suited for large amount of data (at least with my budget) compared to some cloud storage so
b) Do you mean 'hosted storage services' as cheaper as opposed to NVMe-backed services, or private storage capacity?
I mean as an offsite location if you don't have a private site b or don't want to rlive with the risk something bad happens at your family/friend members place where hosts your private backup server. For example Hetzners storagebox cost around 11 Euro für 5 TB of storage space (https://www.hetzner.com/de/storage/storage-box/ ), Backblaze starts at 6 Euro per TB for their s3-compatible storage: https://www.backblaze.com/cloud-storage/pricing
A cheap vserver at netcup starts at 5 Euro but won't have much storage. You can add storage but this costs around 12 Euro per TB. So netcup is still quite affordable (that's the reason I run my offsite PBS on it) but I can't backup my NAS and notebook data on it since it's way too much. For my (relative small) vm and lxcs where it's mainly about the ability to quickly get services running again without wasting time in reconfiguring everything again it's perfect.
If on the other hand I would run a company I would propably reconsider and get a managed PBS service like the ones provided by tuxis.nl or inett and two or three different s3 providers for data backups (so if one of them fails I still have the backups on everything else).
You could argue that you shouldn't relie on vm or lxcs backups because with a configuration-management tool like ansible, chef or puppet/openvox you should be able to resetup everything automatically without the need to restore vms and lxcs. It's something I still have on the todo for my homelab. But even then I can imagine some scenarios where it might be useful to have backups of everything.
c) In this case, back up the data separately from the system in which it is kept? Do you untangle Nextcloud data, configuration and database to back them up separately, with scripted restore to put it back together?
I don't use nextcloud. I use TrueNAS on a VM though. Since I passed through a storage controller for the storage discs the regular backup with ProxmoxVE and PBS only gets the OS data. So for the NAS data I would need to use the proxmox backup client inside the vm to do the backup. Since I don't want to use the PBS for it anyhow (for the said reasons) I instead use restic with resticprofile.
I do the same seperation on my vms. For example my paperless instance is hosted with docker from a debian vm. The VM has two virtual discs:
- One for the operating system and one for the application installs (aka all docker images and configuration of the applications I host)
- The actual data is hosted on the TrueNAS instance as samba and nfs network shares. These shares are mounted on the vm and configured in docker as storage volumes.
- If for some reason I would want to backup stuff on some virtual disc without putting it on the NAS in a network share I would put it on a dedicated virtual disc and exclude the disc from the backup jobs (there is a checkbox in the VM or lxc configuration to do this) and again setup restic inside the vm
I think I misunderstand : do you set up PBS, but you don't need it because you use the PVE native backups instead?
I can't speak for @.n3 but I do it this way: I use PBS as VM/lxc backups and also do additional native backups so I can still restore an older state in case I can't access the PBS backups anymore. But since native backups needs a lot of space I don't do this as much as my backups to PBS: I do at least daily backups to PBS (for important vms/lxcs even every hour or two hours depending on their importance) but I have also weekly or monthly native backups as additional safety.
You could run a self-hosted S3 service like garage on it, and do a file-based pull as a non-ZFS dependent backup (or is that what the 8 TB NAS is already doing?)
Then .n3 would still relie that his offsite or NAS never fails.