Skip to content

feat: backup schedule from the console, and a logs volume for the console - #46

Merged
AmrMsCLL merged 1 commit into
mainfrom
feat/backup-schedule-and-logs
Nov 5, 2026
Merged

AmrMsCLL merged 1 commit into
mainfrom
feat/backup-schedule-and-logs

Conversation

@AmrMsCLL

@AmrMsCLL AmrMsCLL commented Nov 5, 2026

Copy link
Copy Markdown
Member

feat: the backup schedule comes from the console, and the console keeps its logs on their own volume

backup.py reads /var/lib/graphite/backups/.schedule.json, which the console's
Backups page writes: on or off, every 1 to 168 hours from an hour in UTC, and
how many days to keep. Runs fall on the anchor hour plus whole periods, as the
console computes them. KEEP_DAYS and BACKUP_HOUR go; the defaults (daily at
03:00, 14 days) live with the schedule.

The console gets a logs volume at /logs for its seven-day log store. The volume
carries no backup label, so a week of logs stays out of the nightly archive.

…ps its logs on their own volume

backup.py reads /var/lib/graphite/backups/.schedule.json, which the console's
Backups page writes: on or off, every 1 to 168 hours from an hour in UTC, and
how many days to keep. Runs fall on the anchor hour plus whole periods, as the
console computes them. KEEP_DAYS and BACKUP_HOUR go; the defaults (daily at
03:00, 14 days) live with the schedule.

The console gets a logs volume at /logs for its seven-day log store. The volume
carries no backup label, so a week of logs stays out of the nightly archive.
@AmrMsCLL
AmrMsCLL requested a review from a team as a code owner November 5, 2026 11:47
@github-actions github-actions Bot added the size/s 11-50 changed lines, excluding lockfiles label Nov 5, 2026
@AmrMsCLL
AmrMsCLL merged commit 8ac8eab into main Nov 5, 2026
5 checks passed
@AmrMsCLL
AmrMsCLL deleted the feat/backup-schedule-and-logs branch November 5, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/s 11-50 changed lines, excluding lockfiles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant