From 396638b4e2899f677e986b09cea4d873d6e217ac Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 14 Oct 2018 06:17:35 -0600 Subject: [PATCH] Added error code explanations for borg variable errors --- backup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backup.sh b/backup.sh index 7d46211..3acda49 100755 --- a/backup.sh +++ b/backup.sh @@ -168,6 +168,9 @@ xtraFiles=() errorExplain[100]="Could not put NextCloud into maintenance mode" errorExplain[101]="Could not exit NextCloud maintenance mode" errorExplain[200]="Could not dump NextCloud SQL database" +errorExplain[210]="Invalid or non-existant borg base directory specified (borg backup details file)" +errorExplain[211]="Invalid or non-existant path to borg SSH keyfile (borg backup details file)" +errorExplain[212]="Name of borg repo was not specified (borg backup details file)" ### Warning codes & messages warningExplain[111]="Could not remove SQL dump file and directory, please remove manually"