Skip to content

Commit

Permalink
force delete /tmp/db-backup and /tmp/db-backup.gz [server deploy]
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianoFerrari committed Aug 11, 2023
1 parent 2b9dc0f commit 0967a86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/backup.sh
Expand Up @@ -20,8 +20,8 @@ else
gingkowriter-rolling-backups /tmp/db-backup.gz daily/`date +%d`.gz
fi

rm /tmp/db-backup
rm /tmp/db-backup.gz
rm -f /tmp/db-backup
rm -f /tmp/db-backup.gz

# Notify dead man that back up completed successfully.
curl -d s=$? https://nosnch.in/0c1978ce6e &> /dev/null

0 comments on commit 0967a86

Please sign in to comment.