sys-backup-skel/scripts/backup_etc

6 lines
102 B
Text
Raw Normal View History

2019-01-20 22:09:02 +01:00
#!/bin/bash
ARCHIVE=/backup/etc/$(hostname -s)_$(date +%F)_etc.tar.gz
tar -cz -C /etc -f $ARCHIVE .