For large backup operations, monitoring progress and handling interruptions is crucial. Robocopy provides several options for progress tracking and resumable operations.
Enable real-time progress monitoring:
robocopy "C:\LargeDataset" "D:\Backup" /E /ETA /BYTES /TEE /LOG:"C:\progress_backup.log"
The /ETA flag shows estimated time remaining, /BYTES displays progress in bytes, and /TEE outputs to both console and log file simultaneously.
For network operations that might be interrupted, use robust retry settings:
robocopy "\\RemoteServer\Data" "D:\NetworkBackup" /E /R:10 /W:30 /REG /TBD /MT:8
This configuration retries failed operations 10 times (/R:10), waits 30 seconds between retries (/W:30), saves retry settings to registry (/REG), and waits for share names to be defined (/TBD).
Create a resumable backup job that can be interrupted and restarted:
robocopy "C:\CriticalData" "D:\SafeBackup" /MIR /Z /MT:4 /R:5 /W:15 /LOG+:"C:\resumable_backup.log"
The /Z flag enables restartable mode for large files, allowing interrupted transfers to resume from where they left off.
Pro tip: Use /NP to disable progress percentage display if you're running Robocopy in scripts or scheduled tasks where console output isn't needed.
Verification: Monitor the console output during operation and check the log file after completion for any retry attempts or failures.