From ad9b8154f4dd727a34cbc0011a79b0fb873432e0 Mon Sep 17 00:00:00 2001 From: Nathan Steel Date: Sun, 31 Aug 2025 14:46:42 +0100 Subject: [PATCH] Add WIP borg backup for WSL (Needs scheduler stuff) --- backup/borg/wsl/mount_windows_drive.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/backup/borg/wsl/mount_windows_drive.sh b/backup/borg/wsl/mount_windows_drive.sh index 6db221d..78329f8 100644 --- a/backup/borg/wsl/mount_windows_drive.sh +++ b/backup/borg/wsl/mount_windows_drive.sh @@ -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] \ No newline at end of file