Fix backup script

main
trivernis 1 year ago
parent 3aa05a5374
commit 71c833ed38
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 7E6D18B61C8D2F4B

@ -1,6 +1,6 @@
#!/bin/nu
let-env BORG_REPO = '/run/media/trivernis/Backup'
let BACKUP_PATHS = [
$env.BORG_REPO = '/run/media/trivernis/Backup'
let BACKUP_PATHS = ([
~/Documents
~/Videos
~/Pictures/
@ -15,7 +15,7 @@ let BACKUP_PATHS = [
/mnt/Data/Audio/
/mnt/Massdata/
/etc
]
] | path expand )
if (pgrep borg | length) > 0 {
echo "Borg is running"

Loading…
Cancel
Save