I transfered some account from old server to new server and IPs in zones are old, i'd like to have zones with new IPs of new server so i tried by reseller by CMD_USER_BACKUP to restore one more time accounts with new server IP but i get:
An error occurred during the restore.
domain.com already exists on the server.
domain.org already exists on the server.
domain.net already exists on the server.
for all accounts/domains
How can i change automaticlly ips for all accounts in ~reseller/user_backups
These accounts are restored but wrong IPs in zones.
Maybe if i can't do that with DA help anybody can write a script to do that?
I got file with logins like:
file.txt:
abc
dba
cas
then script with search each /home/login/domains to get names of domains then for all domains do sed -e 's/old_ip/new_ip/' in /etc/bind/
An error occurred during the restore.
domain.com already exists on the server.
domain.org already exists on the server.
domain.net already exists on the server.
for all accounts/domains
How can i change automaticlly ips for all accounts in ~reseller/user_backups
These accounts are restored but wrong IPs in zones.
Maybe if i can't do that with DA help anybody can write a script to do that?
I got file with logins like:
file.txt:
abc
dba
cas
then script with search each /home/login/domains to get names of domains then for all domains do sed -e 's/old_ip/new_ip/' in /etc/bind/