[schnapps] Print a table of known snapshots
This commit is contained in:
parent
c2d05c145d
commit
3b95c60b9b
1 changed files with 3 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue