I want to do one thing but I don’t know if it is possible or at least I don’t know the procedure to do it.
I have server 1 which contains some websites and their emails.
Actually I just want to have clone of a domain along with its emails. The DNS goes through cloudflare.
As I don’t want any downtime failures or other problems I want to have a working clone on server 2 which is on another provider.
How can I make it so that every x hours a snapshot is taken from 1 and copied to 2, so that afterwards I only have to restore the snapshot while propagating the DNS?
Dont think its possible atm, but what i do for myself personally is i have multiple servers and if 1 of the servers go down for an extended period of time i will restore the latest user backup to another server. But when doing this make sure no conflict in the DNS at the name servers primary/slave.
And for me since i use the same name servers for all my servers it will be updated as soon as the account is restored.
Also make sure your backups are stored externally.
I will try to figure out how to do it in a more or less automated way (the snapshot transport) and then I can get it up and running in a few minutes.
Local copies are out of the question as my operator makes it very difficult for me to open the necessary ports, so I’ll have to find something that works for me.