vps-maintenance
CommunityHarden your VPS with safe, recurring ops
Software Engineering#docker#vps#cron automation#postgres backups#db retention#memory alerting#slack telegram
AuthorDevOtts
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents long-lived single-node Docker VPSs from failing due to low-memory incidents, silent disk bloat, and unbounded Postgres growth that eventually breaks backups and performance.
Core Features & Use Cases
- Daily Postgres logical backups: runs
pg_dumpalland retains backups for a configurable number of days in/var/backups/postgres/. - Weekly Docker cleanup: prunes stopped containers and removes unused/dangling images and unused networks without touching volumes or running containers.
- Weekly DB retention cleanup: deletes old application rows (based on detected n8n or Evolution schemas) and runs
VACUUM ANALYZEto reduce bloat after deletions. - 5-minute memory pressure alert: checks
MemAvailableand sends a Slack webhook or Telegram message, with built-in debouncing to reduce noise. - Idempotent installation: re-runs overwrite scripts and deduplicate cron entries while preserving other user crontab lines.
Quick Start
Ask your AI to set up vps-maintenance on your Docker VPS by installing the housekeeping scripts and configuring your Slack or Telegram memory alert with the desired thresholds and retention windows.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: vps-maintenance Download link: https://github.com/DevOtts/all-skills-you-will-ever-need/archive/main.zip#vps-maintenance Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.