SCP / Copy Zone files from one GTM to Another
Hi Forum,
I am having to replace a GTM tomorrow, and there is no backup of the config, so I will need to use gtm_add to place to new replacement box back in the Sync Group.
I am wondering about the zone files, are they copied over when I do the GTM_ADD if the "sync DNS zone files" option is clicked in the sync group section.
If this is not the case, does anybody know the exact syntax to copy the zone files from one box to another
I know I have to copy the /var/named/config/namedb folder and the named.conf file in /var/named/config
If I am on the new box and I am in the right folder, is it just something like
I have seen this example on DevCentral but I need to copy the whole folder scp -p myfile.bin root@10.90.101.50:/var/tmp/myfile.bin
SO I would need to do something scp -p * root@x.x.x.x:/var/named/config/namedb
Is there any best practices like copy them to the temp folder first.
If the files will be copied when I do the GTM_ADD then I dont need to worry about the SCP syntax
Thanks in advanced for your help Graham