redjohn

Well-Known Member
Apr 22, 2016
132
4
58
27
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
 
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 yours easily in our online shop.

Buy now!