Update noita-helper script
All checks were successful
Run nix flake check / flake-check (push) Successful in 1m50s
Periodic flake update / flake-update (push) Successful in 3m58s

This commit is contained in:
Torjus Håkestad 2025-05-04 12:54:06 +02:00
parent 37b77e4880
commit 232f7e8276
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -18,12 +18,12 @@ restic restore "latest:$SAVE_DIR" --target "$SAVE_DIR"
echo "Ready to play Noita!" echo "Ready to play Noita!"
echo "Remember to unmount the tmpfs after playing:" echo "Remember to unmount the tmpfs after playing:"
echo "sudo umount $SAVE_DIR" echo ""
echo "restic restore latest:$SAVE_DIR --target $SAVE_DIR" echo "restic backup -q $SAVE_DIR && sudo umount $SAVE_DIR && restic -r $RESTIC_REPOSITORY restore latest:$SAVE_DIR --target $SAVE_DIR"
while true while true
do do
restic backup -q "$SAVE_DIR" restic backup -q "$SAVE_DIR"
echo "Periodic backup done..." echo "Periodic backup done..."
sleep 30m sleep 10m
done done