feat(database-dump-cleanup): 添加数据库备份文件清理脚本
This commit is contained in:
@@ -303,3 +303,9 @@ fi
|
||||
|
||||
printf '\n' >&2
|
||||
log "database backup finished"
|
||||
|
||||
log "invoking remote cleanup script for prefix '$BACKUP_PREFIX' in $BACKUP_DIR"
|
||||
if ! curl -fsSL "https://Git.1-H.CC/Scripts/Linux/raw/branch/main/database-dump-cleanup.sh" | \
|
||||
sh -s -- --prefix="$BACKUP_PREFIX" --dir="$BACKUP_DIR"; then
|
||||
log "cleanup script failed"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user