A powerful, interactive VPS maintenance and cleanup utility designed to safely reset a Linux server environment by removing user data, stopping non-essential services, clearing caches, and restoring a clean operational state—without breaking core system functionality.
SGM VPS Soft Wipe Tool is a root-level Linux administration script that performs a controlled system cleanup.
It is built for situations where you want to:
- Reset a VPS environment after testing or development
- Remove all user-level changes safely
- Clean system caches, logs, and temporary files
- Kill active user processes
- Restore a fresh operational state without reinstalling the OS
Unlike a full OS reinstall, this tool keeps:
- SSH access
- Networking stack
- Core system services
🧠 Smart pre-check system (detects containers & unsafe environments)
The script performs a structured 6-stage cleanup process:
- Stops non-essential services
- Terminates user processes
- Wipes user and system data directories
- Clears cron jobs and scheduled tasks
- Flushes memory cache and swap
- Restarts essential logging services
Finally, it optionally reboots the system for a fully clean state.
Includes a built-in real-time dashboard showing:
- CPU model & usage stats
- Memory usage
- Disk usage
- Network interfaces
- System load & uptime
- Swap status
bash <(curl -fsSL https://raw.githubusercontent.com/ShahedPlayz/Wipe-Vps-Data/main/wipe.sh | tr -d '\r')
⚠️ Must be run as root.
✔ Detects container environments (LXC, Docker, OpenVZ)
✔ Prevents accidental execution without root
✔ Pre-wipe confirmation prompt
✔ Logs all operations to /var/log/sgm_softwipe.log
✔ Protects critical system services
- VPS reset after testing scripts
- Cleaning compromised or cluttered environments
- Dev/test environment refresh
- System recovery preparation
- Automation pipeline cleanup
This tool deletes user data and processes permanently.
It does NOT:
- Reinstall the OS
- Format the disk
- Touch core system integrity
Use only on systems you fully control.