feat(database-dump-cleanup): 添加数据库备份文件清理脚本
This commit is contained in:
1 parent
7af4a5efef
commit
a68ffd2f8c
2 files changed
+121
No files matched your search
@@ -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