bin/barg: add
This commit is contained in:
parent
6879d89e88
commit
7a31182526
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
# Backup root filesystem with borg
|
||||
cd /
|
||||
sudo borg create --progress --stats \
|
||||
$(echo $IGNOREDIRS_PURE -x 'software-challenge/*/build' -x 'emacs/.local' | sed 's|-x \([^ ]\+\)|-e */\1 -e \1|g') \
|
||||
/mnt/backup/borg::$(hostname)-system-$(date -u +"%y%m%d") etc home root
|
Loading…
Reference in New Issue