From 232f7e82762c5b6c4af216101be9a80d9548e556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sun, 4 May 2025 12:54:06 +0200 Subject: [PATCH] Update noita-helper script --- home/scripts/noita-helper.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/scripts/noita-helper.sh b/home/scripts/noita-helper.sh index b4491d8..e1b604d 100644 --- a/home/scripts/noita-helper.sh +++ b/home/scripts/noita-helper.sh @@ -18,12 +18,12 @@ restic restore "latest:$SAVE_DIR" --target "$SAVE_DIR" echo "Ready to play Noita!" echo "Remember to unmount the tmpfs after playing:" -echo "sudo umount $SAVE_DIR" -echo "restic restore latest:$SAVE_DIR --target $SAVE_DIR" +echo "" +echo "restic backup -q $SAVE_DIR && sudo umount $SAVE_DIR && restic -r $RESTIC_REPOSITORY restore latest:$SAVE_DIR --target $SAVE_DIR" while true do restic backup -q "$SAVE_DIR" echo "Periodic backup done..." - sleep 30m + sleep 10m done