[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] raqq550 TTL



On Wed, 2003-05-14 at 09:01, Thom LaCosta wrote:
> What do I need to make .bak backup files?

How about:
mkdir backups
cp * ./backups/
cd backups

(now you're in the backups dir, with copies of all your zone files
(assuming you started this operation from /etc/named or wherever your
zone files live)).

execute the perl command on the files in that dir, more (or less) them
to make sure that only the ttl line was altered.  If everything looks
good, I'd copy the original zone files to yet another backup dir (ie:
backup_origfiles), then copy the modified zone files over the original
zone files, restart the named daemon (pidof named, kill -HUP <named pid
from previous command>), tail /var/log/messages and make sure there were
no errors.

Hope that helps...