Nextcloud, Hyperling.com, LibreTranslate, and backup.sh Enhancements #11

Merged
me merged 34 commits from dev into main 2025-10-14 14:58:59 -07:00
Showing only changes of commit 1e665a40b7 - Show all commits

View File

@@ -9,7 +9,9 @@ source $DIR/../source.env
## Variables ## ## Variables ##
file="/tmp/Backup-Docker.zip" DATE="`date "+%Y%m%d"`"
BASENAME="/tmp/Backup-Docker"
file="$BASENAME.$DATE.$HOSTNAME.zip"
time="`which time`" time="`which time`"
## Main ## ## Main ##
@@ -17,7 +19,7 @@ time="`which time`"
# Remove the last backup. # Remove the last backup.
if [[ -e $file ]]; then if [[ -e $file ]]; then
echo "`date` - Removing existing file." echo "`date` - Removing existing file."
rm -fv $file rm -fv "$BASENAME"*
fi fi
echo -e "\n`date` - Take down services for a cold backup." echo -e "\n`date` - Take down services for a cold backup."