Skip to content

Commit

Permalink
fix issue star7th#2166
Browse files Browse the repository at this point in the history
  • Loading branch information
xiagw committed May 17, 2024
1 parent 93e06f0 commit c88069b
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 c88069b

Please sign in to comment.