Welcome to Bobbyโs Ubuntu Server Automation Suite โ
a clean, modular toolkit that transforms a plain Ubuntu server into a ready-to-deploy, auto-managed system! ๐
This project aims to automate and simplify the essential setup tasks for Ubuntu 24.04 LTS servers, including:
- ๐ Installing and configuring Docker & Docker Compose
- ๐พ Backing up Docker folders automatically
- ๐ Setting up and mounting external storage (for persistent backups or media storage)
Each component works independently โ or together โ forming a complete, self-maintaining server environment.
| Component | Description | Status |
|---|---|---|
| ๐ณ Docker Installer | Installs Docker Engine, CLI, and Compose on Ubuntu 24.04 | โ Ready |
| ๐ง Docker Backup Script | Automates stopping containers, creating backups, and transferring them remotely | โ Ready |
| ๐พ External Storage Automation | Detects, mounts, and configures external drives for backup or media use | โ๏ธ Coming Soon |
flowchart TD
A[Ubuntu 24.04 LTS Server] --> B[Docker Installer ๐]
B --> C[Docker + Compose Ready]
C --> D[Backup Automation ๐พ]
D --> E[Remote Server Storage โ๏ธ]
E --> F[External Drive Setup ๐]
F --> G[Automated Mounts + Backup Paths Configured]
G --> H[Server Fully Automated ๐]
- ๐ Consistency: Every script is safe to rerun โ idempotent and reversible
- ๐งโ๐ป Simplicity: One-command setup, clean logging, and minimal dependencies
- ๐งฉ Modularity: Use only what you need (Docker install, backup, or storage)
- โ๏ธ Automation: Turn manual admin chores into predictable, scheduled tasks
- ๐ฆ Scalability: Ideal for home labs, media servers, or development stacks
chmod +x install-docker.sh
./install-docker.shchmod +x docker-backup.sh
sudo systemctl enable --now docker-backup.timerchmod +x setup-external-storage.sh
./setup-external-storage.shThis will automatically detect your external drive, mount it, and configure it as your backup destination.
| Planned Feature | Description |
|---|---|
| ๐งฎ Storage Health Monitor | Tracks disk space and notifies via email or Telegram |
| โ๏ธ Remote Sync | Syncs backups to a secondary remote or cloud destination |
| ๐ก๏ธ Incremental Backup | Optional rsync mode for differential backups |
Bobby โ Automation Architect & Server Enthusiast โ๏ธ
โIf you repeat it more than twice, script it once.โ ๐ก
This project is open-source and free to use. Attribution appreciated. ๐
Feel free to modify and extend these scripts for your own automation stack.