Backup from 1 Promox to another Proxmox Server?

The_Dude

New Member
Feb 10, 2017
2
0
1
54
Hello all,
I've always used Proxmox standalone but now I'm trying to build something like this:

I'm running two Proxmox 4.4 Servers on two identical HP Machines.

SERVER 1 is supposed to be the "productive" live system and SERVER 2 is there to take over in case SERVER 1 fails. There is no external Storage and no extra machine available - so I won't be able to build a cluster.

What I'd like to do is to create a NFS share on SERVER 2 (the backup system) and mount it in SERVER 1 (the live system). Then somehow configure the live system to do daily live snapshots of the KVM VMs on this mounted volume.

In case of emergency (SERVER 1 fails) I'd be able to restore the snapshots on SERVER 2 and be up and running within minutes. I don't need instant recovery - the snapshot from the night before would be just fine.

I've set everything up so far, but being not really experienced with LVM and the storage model I'm on a dead end now:

lvdisplay shows me 68 GB on /dev/pve/root which is, if I'm correct, mounted as /var/lib/vz
Then there is 180 GB in the data volume, but I have no idea where this is mounted. It shows as local-lvm in storage view. Now I'm a bit confused in which volume to use to setup the NFS export on SERVER 2, expecially since "data" seems to have no mountpoint in the filesystem and I'd be therefore unable to create a folder and export it.

I was also unable to find any settings on SERVER 1 about where to define which backup volume to use for snapshots
I can take a snapshot in the GUI, but I haven't found a way to edit the settings to save the snapshots on a different storage - like my NFS export (if I ever succeed with that)

I know this is a bit long for a first post - please don't tear me apart
 
Maybe this setup doesn't work at all as intended. Is there a systematic or architectural limitation? Maybe, after all, is it just a bad idea?
 
No problem with your architecture.
Proxmox NFS mounts done with GUI will be under /mnt/pve (but you don't actually care)
Idea :
mkdir /var/lib/vz/nfs_share_srv1
export /var/lib/vz/nfs_share_srv1
mount it within PVE GUI on srv2
Do the same for server #2
You will have remote space available to do your backups.
Monitor space usage :)
 

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!