Collection of production-ready bash scripts for system administration, automation, and monitoring tasks.
backup/backup.sh — Incremental backup tool with safety checks
- Dry-run mode by default
- Root directory protection
- rsync-based with permission preservation
monitoring/system-monitor.sh — Lightweight health check tool
- CPU, memory, disk metrics
- System error detection (journalctl)
- Exit codes for automation
# Clone repository
git clone https://github.com/mirwanasikin/devops-scripts.git
cd devops-scripts
# Make scripts executable
chmod +x backup/backup.sh monitoring/system-monitor.sh
# Run with --help for usage
./backup/backup.sh -h
./monitoring/system-monitor.sh- Linux system (tested on Fedora 43)
- Bash 4.0+
- rsync (for backup scripts)
- systemd/journalctl (for monitoring)
Feel free to open issues or submit PRs for improvements.
MIT License - see LICENSE file for details.
M. Irwan Asikin
- GitHub: @mirwanasikin
- Email: mirwanasikin@gmail.com