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