We are aware of a potentially service impacting issue. Learn more

How do I import DNS on a BlueOnyx/BlueQuartz server from my old server? Print

  • 0

Assuming you are migrating from a Cobalt / BlueQuartz / BlueOnyx / TLAS server:
Restore Backup Files

Restoring your server
Step #1 - Make a directory mkdir /home/restore
Step #2 - Change Ownership to Admin chown admin /home/restore
Step #3 - Upload, as admin, all of your backup to /home/restore
Step #4 - Telnet/SSH as Admin to your Server
Step #5 - Change user to root su - root
Step #6 - Change Directory cd /home/restore
Step #7 - Extract the backup files tar zxvf hostname.of.source.cmu-xml-files.tar.gz
Step #8 - Import the files /usr/sbin/cmuImport -d /home/restore

Restore MySQL Backup
Step #1 - Make a directory mkdir /home/restore
Step #2 - Change Ownership to Admin chown admin /home/restore
Step #3 - Upload, as admin, hostname.of.source.mysqldump.tar.gz to /home/restore
Step #4 - Telnet/SSH as Admin to your Server
Step #5 - Change user to root su - root
Step #6 - Change Directory cd /home/restore
Step #7 - Extract your backup tar zxvf hostname.of.source.mysqldump.tar.gz
Step #8 - Restore your databases: mysql -u root -ppasswordofmysql < hostname.of.source.mysqldump.sql

Restore DNS & Additional Directories
Step #1 - Make a directory mkdir /home/restore
Step #2 - Change Ownership to Admin chown admin /home/restore
Step #3 - Upload, as admin, hostname.of.source.dirs.tar.gz to /home/restore
Step #4 - Telnet/SSH as Admin to your Server
Step #5 - Change user to root su - root
Step #6 - Change Directory cd /home/restore
Step #7 - Move the file to your / directory mv hostname.of.source.dirs.tar.gz /
Step #8 - Extract the file tar zxvf hostname.of.source.dirs.tar.gz

Continue, only if you backed up your DNS
Step #9 - Make a working directory mkdir /tmp/dns_import
Step #10 - Move your old records to work dir: mv /var/named/chroot/var/named/db* /tmp/dns_import
Step #11 - Import your records /usr/bin/dnsImport.pl /tmp/dns_import

Was this answer helpful?

« Back