Restore all DNS settings from backup

Legin76

Well-Known Member
Dec 11, 2007
173
2
68
I did a Set Zone Time To Live (TTL) yesterday to all the sites in dns.. This was an error as I just meant to do them for one server. I let it run and figured I could change it back after.

It appears to have messed up and removed the default a record and www. records for many many accounts. I have a weekly backup that will still be correct.

How do I restore from that backup to all accounts? I'll need to do it on three servers to be sure all are correct.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
I did a Set Zone Time To Live (TTL) yesterday to all the sites in dns.. This was an error as I just meant to do them for one server. I let it run and figured I could change it back after.

It appears to have messed up and removed the default a record and www. records for many many accounts. I have a weekly backup that will still be correct.

How do I restore from that backup to all accounts? I'll need to do it on three servers to be sure all are correct.
For this specific issue you'd need to use WHM>>Backup>>Restore a Full Backup/cpmove file for each account - you might be able to make use of the API to queue and start the sessions: Guide to Transfer and Restore API Functions - cPanel Knowledge Base - cPanel Documentation


Thanks!