VPS Source
—
—
payload staging
—
Active Target
DAILY
—
—
Remote Destination
RCLONE
—
—
—
Cron Trigger
—
—
daily schedule
—
Execution Pipeline
ATOMIC ORDER
Enforced sequentially by backup_engine.py with immediate rollback on step failure.
Throughput: —
|
Processed: —
STANDBY
Pipeline idle • Click "Run Backup Now" to trigger
ETA: —
01 COMPRESS
READY
tar -czf /tmp/omniroute-*.tar.gz
Gzip level 6 compression with recursive sha256 checksum.
02 RCLONE STREAM
READY
rclone copyto ... gdrive:omnirote/
Encrypted chunk transfer directly to Google Drive destination.
03 REMOTE VERIFY
READY
rclone lsjson & byte validation
Remote object byte count must match staging byte-for-byte.
04 VPS AUTO-PURGE
READY
os.unlink(/tmp/staging)
Immediate local disk unlinking to prevent persistent VPS bloat.
Audit Log
backup_history.db
Persistent SQLite ledger of verified remote uploads.
— records
| Target Snapshot | Timestamp (UTC) | Size | Local Purge | Drive State |
|---|
SQLite3 WAL-mode storage
Zero lingering /tmp files
Host Console
TTY
—
—
$
logs/backup.log
buffered standard out
Remote Storage
—
Live file list verified via rclone lsjson. Click Restore to generate CLI unpack commands.
| Snapshot Filename | Remote Destination | Uploaded (UTC) | Size | SHA-256 (Truncated) | Action |
|---|
System Schedule
Daily backup trigger
Active crontab directive on the host
Direct Crontab Directive
— awaiting crontab status —
Scheduled Time:00:01 UTC (12:01 AM)
Archive Naming:omniroute-16-10-26.tar.gz
Destination:gdrive:omnirote
Production Sources
~/omniroute-backup-manager
Canonical Python engine, HTTP status daemon, systemd unit, and installation automation.
Setup Runbook
Connecting Rclone to Google Drive (/omnirote) & Daily Crontab
Tested shell commands for unattended Linux VPS setup on —.
01 INSTALL RCLONE ON HOST
sudo apt-get update && sudo apt-get install -y curl unzip python3 tar curl https://rclone.org/install.sh | sudo bash rclone version
02 CONFIGURE HEADLESS GDRIVE REMOTE
rclone config # n -> New remote -> Name: gdrive # Storage -> drive # scope -> 1 (Full drive access) # Use web browser? -> n (headless mode) # Paste returned authorization token from your browser.
03 VERIFY GDRIVE FOLDER PATH (/OMNIROTE)
rclone mkdir gdrive:omnirote rclone lsd gdrive: rclone lsjson gdrive:omnirote
04 EXECUTE VERIFICATION BACKUP
cd /home/saeed/omniroute-backup-manager chmod +x install.sh backup_engine.py ./install.sh python3 backup_engine.py --run-now rclone ls gdrive:omnirote