@DidierDE
As a first step I would recommend doing this out of office hours as if you do this now
and the main PBX is on Production, the FQDN will change and point to the new installed server.
This may distupt the production PBX connections.
So when the time comes, install the new PBX and restore your latest backup from the production one
in order all the records to be up to date.
Go on this new PBX and set it up as Passive. Passive Servers can ONLY restore backup, they dont backup themselves.
The path will be the same on the sFTP so the Passive Server will pull the Scheduled backup from there.
When you set it as Passive, some services will stop (default behavior).
Then go on the Main Production one and set it up as Active.
Thats it.
Restart the services on the Active one in order to ensure that the A Record will point to the correct PBX.
You can validate here if they have different Public IPs :
https://dns.google/
You can select on the Passive what services to monitor on the Active one and the time (in seconds).
Check also what scripts you want to use on the Passive one here :
https://www.3cx.com/docs/failover/