#!/bin/bash ARCHIVE=/backup/named/$(hostname -s)_$(date +%F)_named.tar.gz tar -cz -C /var/named -f $ARCHIVE .