pvesr sync, also synces config files? Where are they?

mailinglists

Renowned Member
Mar 14, 2012
641
67
93
Hi,

with pve-zsync I get config files in /var:
Code:
root@p27:/var/lib/pve-zsync/manual# ls
107.conf.qemu.rep_default_2018-11-20_16:11:08

When I create a pvesr sync job, do I also get the config files for VMs somewhere?
Or can I just access old config files on the new/working node via:
/etc/pve/nodes/primaryFailedNode/qemu-server/100.conf
even when primary node is dead?

I could use the config file in case the primary node fails and I want to restore VM by hand, maybe even to some other cluster or host.
 
Or can I just access old config files on the new/working node via:
/etc/pve/nodes/primaryFailedNode/qemu-server/100.conf
even when primary node is dead?

yes - everything in /etc/pve/ is synced in a (quorate) cluster. you should be sure that the 'primaryFailedNode' is really down before "stealing" the config file - each PVE node assumes that everything in /etc/pve/nodes/NODE is only touched by NODE, except for some HA operations under special locks.
 
  • Like
Reactions: mailinglists

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!