Here's a new version of the menu-driven PowerShell script to backup and restore files with RoboCopy. This update fixes several issues — including a bug that caused Explorer to restart when backing up to an empty drive — and adds some improvements:
• Full‑simulation dry‑run modes for both backup and restore
• Quick‑report modes for fast summaries
• Accurate NEW_DIR / EXTRA_DIR / SAME‑file detection
• Cleaner, color‑coded menu

The script supports full backups, safe restores, detailed simulations, quick reports, and a bidirectional difference report.

PS.png

The script defaults to my source "D:\Code" and destination "I:\Code" which can be changed to your liking on line 17 and 18.

Helps if you add the file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.