From c88069b8cf12e4ea3f313e3863c3fe58be100bc9 Mon Sep 17 00:00:00 2001 From: xiagw Date: Fri, 17 May 2024 16:17:48 +0800 Subject: [PATCH] fix issue #2166 --- docker.run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker.run.sh b/docker.run.sh index 7cb64008a..e284cb479 100644 --- a/docker.run.sh +++ b/docker.run.sh @@ -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