A PowerShell script designed to back up World of Warcraft game files, settings, and AddOns. This tool helps players preserve their custom configurations, keybinds, interface layouts, and other critical game data across re-installs or system migrations.
This PowerShell script automates the process of backing up critical World of Warcraft (WoW) files and related configurations to your OneDrive. It is designed for players who want to safeguard their UI, AddOns, logs, screenshots, and WoW-related app data—making it easy to restore or migrate setups.
Timestamped backup folders for easy version tracking
Automatically backs up WoW interface settings, AddOns, screenshots, logs, and UI cache
Also includes backup of key WoW-related Windows application data (WeakAuras Companion, WowUp)
Stores all backups in your OneDrive under organized folders
World of Warcraft directories backed up: C:\Program Files (x86)\World of Warcraft_retail_\Cache
C:\Program Files (x86)\World of Warcraft_retail_\Errors
C:\Program Files (x86)\World of Warcraft_retail_\Fonts
C:\Program Files (x86)\World of Warcraft_retail_\GPUCache
C:\Program Files (x86)\World of Warcraft_retail_\Interface
C:\Program Files (x86)\World of Warcraft_retail_\Logs
C:\Program Files (x86)\World of Warcraft_retail_\Screenshots
C:\Program Files (x86)\World of Warcraft_retail_\Utils
C:\Program Files (x86)\World of Warcraft_retail_\WTF
AppData directories backed up: %APPDATA%\weakauras-companion
%APPDATA%\WowUpCf
PowerShell 5.1 or higher
Windows OS with OneDrive enabled and signed in
Sufficient OneDrive storage space for backup files
Usage Save the script as wow-backup.ps1
Right-click and run it as Administrator
It will automatically:
Create a timestamped folder in your OneDrive
Copy WoW and AppData folders into appropriate backup directories
OneDrive
├── AppDataBackup
│ └── 2025-07-14_153000
│ ├── weakauras-companion
│ └── WowUpCf
└── WoWBackup
└── 2025-07-14_153000
├── Cache
├── Interface
├── Logs
├── Screenshots
└── WTF\
To ensure your World of Warcraft data is regularly backed up, you can automate this script using Windows Task Scheduler.
Step-by-Step: Add Script to Task Scheduler Open Task Scheduler (search for it in Start Menu).
Click “Create Basic Task”.
Give your task a name like WoW Backup and click Next.
Choose a trigger (e.g., Daily, At log on, or Weekly) and click Next.
For the action, select “Start a program” and click Next.
In the Program/script field, enter:
powershell.exe
In the Add arguments (optional) field, enter: -ExecutionPolicy Bypass -File "C:\Users\YOUR_USERNAME\Path\To\backup-wow.ps1"
Replace the path with the actual location of your .ps1 script.
Click Next, then Finish.
Notes: Make sure the script is saved in a consistent location that doesn’t change (e.g., C:\Scripts).
If running from a standard user account, check the box for “Run with highest privileges” to ensure access to all folders.
MIT — feel free to use, modify, and redistribute.