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

Minor echo changes and additions (#9)

- Remove unnecessary `echo`es.
- Remove `LOGFILE` environment variable.
- Minor documentation and `echo` changes and additions.
This commit is contained in:
jmqm
2021-05-26 06:32:01 -05:00
committed by GitHub
parent 48b391d082
commit f9531d4a50
4 changed files with 10 additions and 15 deletions

View File

@ -12,6 +12,5 @@ BACKUP_ATTACHMENTS=attachments # directory
BACKUP_SENDS=sends # directory
# Create an archive of the files and directories.
echo "[INFO] Starting backup at $(date +"%F %r")..."
cd /data && tar -Jcf $BACKUP_LOCATION $BACKUP_DB $BACKUP_RSA $BACKUP_CONFIG $BACKUP_ATTACHMENTS $BACKUP_SENDS 2>/dev/null && cd /
echo "[INFO] Backup completed at $(date +"%F %r")."
echo "[INFO] Created a new backup on $(date +"%F %r")."