From 3b95c60b9b94ca91831b105b3cba7c504421366a Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Thu, 28 Oct 2021 16:13:13 +0200 Subject: [PATCH] [schnapps] Print a table of known snapshots --- sysadmin/turrisos-backup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sysadmin/turrisos-backup.sh b/sysadmin/turrisos-backup.sh index b6c79ef..bbad497 100755 --- a/sysadmin/turrisos-backup.sh +++ b/sysadmin/turrisos-backup.sh @@ -24,6 +24,8 @@ then exit 1 fi +current_snapshots=$(/usr/bin/schnapps rlist) + read -r -d '' TEMPLATE << EOF From: Backup Robot To: einar@heavensinferno.net @@ -36,7 +38,7 @@ the schnapps backup has been created successfully on date ${DATE_PRETTY}. Currently-available snapshots: - +${current_snapshots} Note that snapshots older than 30 days are automatically deleted.