Web Hosting Talk







View Full Version : DNS backup


cyrusTvirus
08-21-2002, 12:20 PM
Hi,

I have a cobalt box which has only DNS records running on that box. I want to restore the box and after that I want to run it as dns server again. Without manually typing in all dns records ofcourse.

Is there an easier way to backup and restore the dns records ??

Any help is much appricated.

Robbert

mjehlenz
08-21-2002, 06:26 PM
Originally posted by cyrusTvirus
Is there an easier way to backup and restore the dns records ??


You need to back up the file /etc/named/records

Regards, Moritz

MaB
08-21-2002, 07:25 PM
pack up /etc/named.conf and /etc/named/*

cyrusTvirus
08-22-2002, 05:14 AM
tar them ??

How do I tar a whole dir ???

Thanks guys

MaB
08-22-2002, 11:55 AM
tar -czvf backup.tar.gz /etc/named /etc/named.conf

cyrusTvirus
08-22-2002, 04:06 PM
Thanks !

MaB
08-22-2002, 04:08 PM
np

cyrusTvirus
08-22-2002, 05:53 PM
Originally posted by MaB
np

:D :rolleyes:

MaB
08-22-2002, 05:54 PM
?? did i miss something?