1
0
Fork 0

[schnapps] Print a table of known snapshots

This commit is contained in:
Luca Beltrame 2021-10-28 16:13:13 +02:00
parent c2d05c145d
commit 3b95c60b9b
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

View file

@ -24,6 +24,8 @@ then
exit 1
fi
current_snapshots=$(/usr/bin/schnapps rlist)
read -r -d '' TEMPLATE << EOF
From: Backup Robot <notify@dennogumi.org>
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.