Back to feed

Backing up Windows files and a 12 GB Outlook archive to one USB drive with FreeFileSync and PowerShell

0

My Windows File History backup stopped working, and after a lot of troubleshooting I still couldn't get it running reliably. I wanted to keep using one external USB drive, so I asked ChatGPT to help me design a replacement. The result is a two-part automated system: FreeFileSync handles my everyday files, and a PowerShell script handles my roughly 12 GB Outlook archive. It's for anyone comfortable with Windows who has no programming background. 1. ChatGPT walked me through setting up FreeFileSync to mirror my important documents and folders to the external drive, using several source and destination pairs. 2. We created backup batch files for those pairs. 3. I configured RealTimeSync to watch for changes and trigger the backups automatically. 4. We added exclusion filters so the Outlook PST file stays out of continuous sync, since Outlook is normally running and the file needs special handling. 5. ChatGPT wrote a PowerShell script to back up the Outlook archive separately. 6. Windows Task Scheduler runs the script three times a day to check whether a backup is due, using a minimum 14-day interval. 7. The script detects changes so it skips unnecessary backups. 8. When a backup is due, it asks permission to close Outlook, copies the archive, and reopens Outlook automatically. 9. It verifies the copied archive with a SHA-256 checksum. 10. It keeps two rolling versions, Current and Previous, and logs errors. It also has safeguards against failed copies and disconnected drives. 11. ChatGPT helped me test the setup in isolation, verifying three backup rotation scenarios without touching my real Outlook data. What it produces: a configured, automated backup system on one external drive. Initial tests have passed, and the first full production Outlook backup is still pending.

Industry Personal & Lifestyle

Upvotes 0

Rank #30

0 comments

Community guidelines

No comments yet. Be the first to weigh in.