1
0
mirror of https://github.com/xzeldon/vwdump.git synced 2025-07-13 13:14:37 +03:00

Added ENV BACKUP_FILE_PERMISSIONS to set permissions of the backup file

This commit is contained in:
1O
2020-09-16 19:17:41 +02:00
parent bc6c9b6d48
commit 7f585e3fd1
4 changed files with 5 additions and 2 deletions

View File

@ -15,7 +15,7 @@ else
fi
/usr/bin/sqlite3 $DB_FILE ".backup $FINAL_BACKUP_FILE"
if [ $? -eq 0 ]
if [ $? -eq 0 ]
then
echo "$(date "+%F %T") - Backup successfull"
else