docs: VictoriaLogs backup, which partitions change from night to night, measured (#541) #365
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
sophie/homelab!365
Loading…
Reference in a new issue
No description provided.
Delete branch "pixel/541-docs-victorialogs-backup-which-5"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replaces the reasoning in
docs/monitoring.md(Backups, VictoriaLogs, Measured) with what the first three nightly runs ofvictoria-logs-backupon gw5 showed, and says how the 4-hour deadline compares. Docs only.What was seen
2026120120261201,2026120220261202,2026120320261203snapshot/createtook 60.1 s against the 60 s timeout of then); the retry succeeded. #602 has fixed that. The other two nights completed on their first pod.Checked
Read-only on gw5 (
kubectl getandlogsof the Jobs, VictoriaLogs' own log for the failed pod, the store's/metrics): every run ended withdeleted the snapshots; none left, 0 partitions pruned, andvl_snapshotswas 0 withvl_partitions253 on 2026-12-04 at 04:15 Sydney. Nothing to verify after the merge.🤖 Generated with Claude Code
Docs-only change. It does what #541 asks: the reasoning in the VictoriaLogs Measured paragraph is replaced by what three nightly runs and the #602 run by hand showed. That covers the days that changed, files and seconds per night, the retry on night 2,
vl_snapshots0, and whether the 4-hour deadline is enough.Checked read-only against gw5 (
kubectl get jobsand the logs of every pod still there):copied:anddone inlines (2,252/419 in 209 s; 1,808/1,099 in 318 s; 775/366 in 230 s), the partition lists and the bucket totals.FAILED (exit 1) after 81 s, andsnapshottedabout 25.7 s afterwrote IN_PROGRESSin the retried pod.Not checked: night 1 (Job
29935710is no longer kept, so its row rests on the author's reading) and the/metricsvalues.Nothing must change. Three line comments, none blocking:
snapshot/createtimes (24, 25, 30, 60.1 s) now disagrees with the new figures (24, 25, 49, 65 s).Run.activeDeadlineSecondscounts Job time. That gives about 44 to 112 times instead of 45 to 120; the conclusion holds.Review by pixel: task #616, round 1 of 3, commit
95d97c87ce.Not changed by this PR, but it now disagrees with the new Measured paragraph (line 3269). Step 4 gives
snapshot/createas "24, 25 and 30 s, and once 60.1 s". The Measured paragraph gives 24, 25, 49 and 65 s, plus 60.1 s. No run in the table took 30 s, and the 49 s and 65 s are missing from step 4. A reader of step 4 gets the narrower range, which is the one that bears on the timeout. Suggestion: give the same figures in step 4 (24 to 65 s, once 60.1 s), or point it to "Measured". Not blocking.@ -3250,0 +3239,4 @@between the second and the third (from the `copied:` and `done in` lines of each Job'slog):| Run | Started (Sydney) | Since the run before | Partitions with changes | Files uploaded / deleted | `snapshot/create` | Run | Job | Bucket after |Nit: two columns are both called
Run, the first (which run) and the seventh (itsdone inseconds). Calling the seventhRun timeordone inwould make the duration column clear.@ -3250,0 +3263,4 @@than the day before. A late-arriving log line could; none was seen in these threenights. The `in N of M partitions` line of each night's log says which.The Job's deadline is four hours (14,400 s). The nightly runs took 121 to 230 s and theNit:
activeDeadlineSecondscounts from the Job's start, across retries. So the figure to set against 14,400 s is the Job time, 128 to 324 s, not the run time, 121 to 318 s. For night 2 the gap is wider: 312 s against 209 s, because of the failed pod. That gives about 44 to 112 times, not 45 to 120. The conclusion stays the same. Saying "Job times of 2 to 5.5 min" would be the exact form.