This commit is contained in:
salam committed 2026-07-07 11:51:45 +02:00
1 parent e5bfbd501c
commit 8126d44286
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -18,6 +18,7 @@
/public/hot /public/hot
/storage/*.key /storage/*.key
/storage/pail /storage/pail
/storage/backup_database/archive
/vendor /vendor
Homestead.json Homestead.json
Homestead.yaml Homestead.yaml
+1 -1
View File
@@ -9,7 +9,7 @@ USER='root' # Username
PASSWORD='salam' # Password PASSWORD='salam' # Password
DB='nutzwerte_fi4' DB='nutzwerte_fi4'
DAYS_TO_KEEP=60 # Delete backups older than X days DAYS_TO_KEEP=60 # Delete backups older than X days
GZIP=1 # 1 = gzip compression, 0 = plain .sql GZIP=0 # 1 = gzip compression, 0 = plain .sql
BACKUP_PATH='/var/www/html/nutzwerte_fi4/storage/backup_database/archive' # Location to store backups BACKUP_PATH='/var/www/html/nutzwerte_fi4/storage/backup_database/archive' # Location to store backups
#TIMESTAMP=$(date +"%d_%m_%Y_%H_%M_%S") # Date-time for unique file names #TIMESTAMP=$(date +"%d_%m_%Y_%H_%M_%S") # Date-time for unique file names
TIMESTAMP=$(date -d "yesterday" +"%d_%m_%Y") #Date-time for previous date file names. reminder here crontab use after 12 am TIMESTAMP=$(date -d "yesterday" +"%d_%m_%Y") #Date-time for previous date file names. reminder here crontab use after 12 am