OliverB

Active Member
Apr 22, 2016
105
3
38
25
Hello,

I have create the /etc/pmg/templates folder. This folder is sync between master and nodes everything works fine. But if I create some file with postmap command this file is not synced to the nodes, why? I think the rsync(?) between master and nodes exclude .db file which was create with postmap command? Any idea to fix this problem?

Regards
 

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
5,997
833
148
I think the rsync(?) between master and nodes exclude .db file which was create with postmap command?
this is correct - since the cluster sync copies the plaintext files over and runs postmap on the nodes themselves the .db files do not get synced as well.

Depending on your usecase you could:
* either run postmap manually on all nodes when you change the plaintext file (usually this does not change that often)
* use some other way of synchronization (a systemd-timer/cronjog using rsync)

I hope this helps!
 

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 your own in 60 seconds.

Buy now!