Backup: add script to list backups

This commit is contained in:
Bruno F. Fontes 2021-03-25 11:26:07 -03:00
parent 8f19bc32d7
commit 578199a4eb
Signed by: brunofontes
GPG Key ID: EE3447CE80048495

7
Backup/listBackups.sh Executable file
View File

@ -0,0 +1,7 @@
if [ $1 ]; then
sudo borg list $1
else
echo
echo "ERROR: Backup folder argument is missing. Use folder name to display backup set or FOLDER_NAME::BACKUP_SET to display files."
echo
fi