diff options
| author | St33v <github@f3rr3t.com> | 2019-09-08 13:04:24 +1000 |
|---|---|---|
| committer | St33v <github@f3rr3t.com> | 2019-09-08 13:04:24 +1000 |
| commit | 101ccb1c518b1cec8f37ef16920140ea000a925e (patch) | |
| tree | c34b6054d2620960959908e54ddf16235153313d | |
| parent | 084b75d70a1791f1770226b082557299e311916a (diff) | |
Added ARGV encryption none
| -rwxr-xr-x[-rw-r--r--] | borgAuto.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/borgAuto.sh b/borgAuto.sh index e7192ad..b33cb12 100644..100755 --- a/borgAuto.sh +++ b/borgAuto.sh @@ -2,14 +2,14 @@ # 8 Sept 2019 SJ Pratt # Copied from https://blog.andrewkeech.com/posts/170718_borg.html # the envvar $REPONAME is something you should just hardcode -export REPOSITORY="/mnt/bak/borg" +export REPOSITORY="/mnt/bak/st33vHome" # Fill in your password here, borg picks it up automatically -export BORG_PASSPHRASE="" +#export BORG_PASSPHRASE="" # Backup all of /home except a few excluded directories and files -borg create -v --stats --compression lz4 \ - $REPOSITORY::'{hostname}-{now:%Y-%m-%dT%H:%M}' /home \ +borg create -v --stats -e none --compression lz4 \ + $REPOSITORY::'{hostname}-{now:%Y-%m-%dT%H:%M}' /home/st33v \ --exclude '/home/*/.cache' \ --exclude '/home/$USER/cargo' \ --exclude '/home/lost+found' \ |
