Add WIP borg backup for WSL (Needs scheduler stuff)
parent
5b49f1ab5f
commit
ad9b8154f4
@ -1,3 +1,16 @@
|
||||
# Mount the drive letter, to a location
|
||||
sudo mount -t drvfs K: /mnt/k
|
||||
# Using K as it's super irregular, so suitable for backup in-case other drives are mounted
|
||||
|
||||
# /mnt/c/Users/Nathan/Documents
|
||||
|
||||
/bin/bash /home/nathan/git/scripts/backup/borg/directory_backup.sh -d /mnt/c/Users/Nathan/NAS -b /mnt/k/borg/NAS
|
||||
# \
|
||||
# -r borg_avps \
|
||||
# -R /home/nathan/BACKUP/rn3/cron
|
||||
|
||||
/bin/bash /home/nathan/git/scripts/backup/borg/directory_backup.sh -d /mnt/c/Users/Nathan/bigNAS -b /mnt/k/borg/bigNAS
|
||||
/bin/bash /home/nathan/git/scripts/backup/borg/directory_backup.sh -d /mnt/c/Users/Nathan/git -b /mnt/k/borg/git
|
||||
|
||||
# restore as different user?
|
||||
# borg --bypass-lock [normal command stuff here]
|
||||
Loading…
Reference in New Issue