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