Skip to main content

Safety Checklist Cheatsheet

Pre-Run

  • Confirm source path exists and is non-empty.
  • Confirm destination remote path is correct.
  • Run with --dry-run for 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 check on critical datasets.
  • Review delete counts and unusual diffs.
  • Archive logs with job ID/date.
  • Record restore-point metadata.

Incident Guardrails

TriggerAction
Delete count unexpectedly highStop pipeline, investigate dry-run diff
Repeated auth errorsRotate/reconnect credentials
API throttling spikesLower concurrency and TPS
Failed post-checkRun targeted repair loop

Core Recovery Commands

rclone check SRC DST --one-way
rclone sync SRC DST --dry-run
rclone copy ROLLBACK_PATH DST --progress

Next