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