X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=debian%2Fbin%2Fbackup.sh;h=4b9bffa73334596cd947c52f8d0a81d0522482f4;hb=0e1f3846c77e6b0ca5d9215b07f6e587cedd19d9;hp=46d17d8fdb9cc784e7178d95c2557a42c45f0bf2;hpb=cfef5bc51f0bf8626bace960274112e416cd8d93;p=config%2Fdotfiles.git diff --git a/debian/bin/backup.sh b/debian/bin/backup.sh index 46d17d8..4b9bffa 100755 --- a/debian/bin/backup.sh +++ b/debian/bin/backup.sh @@ -19,13 +19,14 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -set -e +set -eu # tar can't exclude it automatically because we pipe it through gpg. target="`pwd`/`hostname`.tar.gpg" tar cf - \ + --exclude /root/apt \ --exclude /var/cache \ --exclude /var/www \ --exclude "$target" \