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