changeset 22:faa17dcc2c95

Make a compromise when backing up to external HDD Backups are getting bigger and space is getting short!
author IBBoard <dev@ibboard.co.uk>
date Sun, 09 Jun 2019 15:52:35 +0100
parents a6f490ec0c1c
children 489ba6ea3c35
files backup-to-disk
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/backup-to-disk	Sun Jun 09 15:51:48 2019 +0100
+++ b/backup-to-disk	Sun Jun 09 15:52:35 2019 +0100
@@ -14,5 +14,11 @@
 	mv $DISK/backup{,-prev}
 fi
 mkdir $DISK/backup
+
+# Sacrifice the Windows game installers to free up space
+# We should be fine, but it everything fails between now
+# and backup completion then they're big but least important
+rm -rf $DISK/backup-prev/media/Downloads/games/Windows
+
 /usr/local/bin/do-backup "$DISK"/backup/