sys-backup-skel/scripts/backup_named
2019-01-20 22:10:34 +01:00

5 lines
112 B
Bash

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