Skip to content

Commit

Permalink
Merge pull request #2191 from xiagw/fix-issue-2166
Browse files Browse the repository at this point in the history
fix issue #2166
  • Loading branch information
star7th authored May 17, 2024
2 parents 93e06f0 + c88069b commit 7c7b16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker.run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ _backup_dbfile() {
else
backup_time="$(date +%F-%H-%M-%S)"
fi
\cp $db_file ${db_file}."$backup_time".php
\cp $db_file backup.full.${db_file}."$backup_time".php
## remove old files (15 days ago)
find ${db_file}.* -type f -ctime +15 -print0 |
xargs -t -0 rm -f >/dev/null
Expand Down

0 comments on commit 7c7b16b

Please sign in to comment.