mirror of
https://github.com/xzeldon/vwdump.git
synced 2025-07-16 07:14:41 +03:00
Quality of life improvements (#17)
- Removed quotation marks with mounting volumes in docker-compose section. - Replaced INFO prefix with each echo with a timestamp. - Subsequently, echoes that have a timestamp at the end have been adjusted to remove them. - When deleting, it first checks if there are files to delete. - An appropriate echo will be shown in both circumstances.
This commit is contained in:
@ -13,4 +13,4 @@ BACKUP_SENDS=sends # directory
|
||||
|
||||
# Create an archive of the files and directories.
|
||||
cd /data && tar -Jcf $BACKUP_LOCATION $BACKUP_DB $BACKUP_RSA $BACKUP_CONFIG $BACKUP_ATTACHMENTS $BACKUP_SENDS 2>/dev/null && cd /
|
||||
echo "[INFO] Created a new backup on $(date +"%F %r")."
|
||||
echo "[$(date +"%F %r")] Created a new backup."
|
||||
|
Reference in New Issue
Block a user