server: Delete inc timing files after 30days
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
This commit is contained in:
parent
ba5fab4852
commit
636a5b6143
1 changed files with 1 additions and 1 deletions
|
@ -575,5 +575,5 @@ get_timestamp(){
|
|||
|
||||
datadir_cleanup(){
|
||||
# Files created by bkctld inc to keep track of inc creation time
|
||||
find "${DATADIR}" -maxdepth 1 -type f -name "time-inc_????-??-??-??" -ctime +1
|
||||
find "${DATADIR}" -maxdepth 1 -type f -name "time-inc_????-??-??-??" -ctime +30 -delete
|
||||
}
|
Loading…
Add table
Reference in a new issue