backup to different cluster

Mar 2, 2024
9
0
1
Hi,
Newbie here....

If I have 2 proxmox clusters, both with backup activated, drop the backup of cluster 1 on storage located in cluster 2?

The aim is that we can arrange a site independent backup assuming sufficient bandwidth between the 2 clusters.

Thanks,

Piet
 
Hi, you can do that, but you have to have smb/nfs share from cluster 2 to cluster 1. You can also utilize pve-zsync which basically creates a replication of your vm/lxc located in cluster 1 to cluster 2 with snapshots so you can rollback to a specific time.
 
What do you use to make your backups? vzdump or PBS? If the former I would just use rsync to send the vzdump files to a remote server, if the later use PBS sync to replicate your backups among your sites. In my experience NFS/SMB over wan gave me poor speed vs rsync.
 
i have multiple Backups... My storage is coming from truenas I replicate the data to another pool and another machine. I also do vzdump (only smalled vm/lxc) to nfs/smb which comes from truenas, which also gets replicated. Using vzdump makes a full backup of the vm/lxc so doing that over wan would be slow as you are limited to you internet speed. If you ask me in your case i would rather do pve-zsync than rsync. With pve-zsync you get to also keep snapshots. Meaning you can roll back to specific time. And it is also very fast. The first sync takes time because it sends all the data over. After that it only sends the deltas which is similar to rsync. However, in rsync you do not have the luxury of keeping snapshots.
 
Hi @homelabenthusiast , thanks for the input. If you go the replication route, how about retention periods? is this purely snapshot / delta based?
if so, do you have any insights on the access speed if I need files out of one of those backups?

Sorry about the newby questions... just starting here ;)
 
Hi @VictorSTS,
Thanks!
Most likely it will be PBS.
At present we're using veeam for the larger part and having around 1000 backups / night, it might be a performance squeeze anyhow ;)
veeam does something similar to rsync with its proxies, so that might be a better way to do it. However, having triple storage instead of double (production, backup on same site as prod and backup in remote) might be a buzzkill.

Thanks
Piet
 
@phew01 you can specify how many snapshots you want to keep. So if you say you want to keep snapshots or more, then they are there and the old ones gets automatically deleted you you maxed out the max snapshots you specify. The first sync is of course a full backup and the other ones are just the deltas. Let us say you made a successful backup already yesterday and this morning a snapshot of your vm in cluster 1 was sent to cluster 2 and tonight you jacked up your vm or what not. Then what you do is send back your snapshot to your cluster 1 and everything is fine again. So this happens in seconds. You can specify how often it syncs. You can also manually send a snapshot to cluster 2 before you jack up cluster 1 :p Keep in mind if you do this, then the vm cannot be running on both cluster at the same time! You have to shutdown the vm, sync it and start it to another cluster.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!