Update A-records on user restore from backup

Zhenyapan

Verified User
Joined
Feb 23, 2018
Messages
2,390
Location
UA
Hello,

When I move users from one DA server to another with DA-backup - it replaces A-records only for subdomains which has only one A-record.
In my case at old server I domains have 5 A-records with different ips:
domain IN A 12.12.12.11
domain IN A 13.12.12.12
domain IN A 14.12.12.13
domain IN A 15.12.12.14
domain IN A 16.12.12.15
and when restore from backup - DA keeps all old A-records, and updates with new server IP only POP/SMTP/FTP A-records.
I tried to use custom DNS template dns_a.conf but it didn't help.
Maybe someone can advise how to solve this.
 
Yes that is a bit of an issue if you have different ip's.

The choice is either to use the new ip in DA records or use the ip's from the backup when restoring.
So I think you need to set the option to use the ip from the backup on restore.

Downside of this is, that after restoring, you need to manually change the ip's in the domain's DNS which should point to the new server.
 
I know that I can swap IP with perl/sed script after restore, but I thought it can be done some DA-native way.
 
Back
Top