1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 14:49:42 +02:00
This commit is contained in:
sauls8t 2019-11-30 10:31:09 +00:00
parent 9d025c3f71
commit 51a25adbdb
8 changed files with 1067 additions and 1071 deletions

View file

@ -89,7 +89,7 @@ func (h *Handler) Backup(w http.ResponseWriter, r *http.Request) {
return
}
h.Runtime.Log.Info("Backup started")
h.Runtime.Log.Infof("Backup started %s", ctx.OrgID)
bh := backerHandler{Runtime: h.Runtime, Store: h.Store, Context: ctx, Spec: spec}
@ -113,7 +113,7 @@ func (h *Handler) Backup(w http.ResponseWriter, r *http.Request) {
return
}
h.Runtime.Log.Info(fmt.Sprintf("Backup size pending download %d", len(bk)))
h.Runtime.Log.Info(fmt.Sprintf("Backup size of org %s pending download %d", ctx.OrgID, len(bk)))
// Standard HTTP headers.
w.Header().Set("Content-Type", "application/zip")