Safety Checklist Cheatsheet
Pre-Run
- Confirm source path exists and is non-empty.
- Confirm destination remote path is correct.
- Run with
--dry-runfor destructive operations. - Verify credentials and config path for scheduler user.
During Run
- Log to file with timestamp.
- Capture exit code.
- Watch error and retry patterns.
Post-Run
- Run
rclone checkon critical datasets. - Review delete counts and unusual diffs.
- Archive logs with job ID/date.
- Record restore-point metadata.
Incident Guardrails
| Trigger | Action |
|---|---|
| Delete count unexpectedly high | Stop pipeline, investigate dry-run diff |
| Repeated auth errors | Rotate/reconnect credentials |
| API throttling spikes | Lower concurrency and TPS |
| Failed post-check | Run targeted repair loop |
Core Recovery Commands
rclone check SRC DST --one-way
rclone sync SRC DST --dry-run
rclone copy ROLLBACK_PATH DST --progress