For those not technically saavy, here’s both scripts, this one backs everything up, remember to change the [!YOURACCOUNTNAMEHERE!] to your account name for it to work.
The version I use uses winrar, but I modified this one to run on the default windows compressor, requires powershell tho, so that might slightly suck, if anyone is interested in the winrar version let me know i can post it here or pm it.
In case you don’t know about scripts basically make a new .txt file in your computer using notepad (Windows key + R key, then type notepad, hit enter), paste this code into it, save it as .bat, then double click to run it, if you don’t know what i’m talking about you probably shouldn’t be doing this on your own.
Anyway heres the code for BACKUP:
@echo off
setlocal
:: DEBUG: Step 1 - Get date and computer
echo Getting date and computer name…
for /f %%a in (‘wmic os get localdatetime ^| find “.”’) do set dt=%%a
set “DATE=%dt:~0,4%-%dt:~4,2%-%dt:~6,2%”
set “COMPUTER=%COMPUTERNAME%”
echo DATE=%DATE%
echo COMPUTER=%COMPUTER%
:: DEBUG: Step 2 - Define folders
echo Defining folders…
set “SOURCE1=C:\Program Files (x86)\World of Warcraft\_Retail_\WTF”
set “DEST1=C:\Program Files (x86)\World of Warcraft\_Retail_”
set “NAME1=WTF”
set “SOURCE2=C:\Program Files (x86)\World of Warcraft\_Retail_\WTF\Account\[!YOURACCOUNTNAMEHERE!]”
set “DEST2=C:\Program Files (x86)\World of Warcraft\_Retail_”
set “NAME2=[!YOURACCOUNTNAMEHERE!]”
echo SOURCE1=%SOURCE1%
echo DEST1=%DEST1%
echo SOURCE2=%SOURCE2%
echo DEST2=%DEST2%
:: DEBUG: Step 3 - Confirm paths
echo -------------------------------------------------
echo Confirming paths…
echo Backup from: %SOURCE1%
echo Backup to: %DEST1%
echo Will create: %DATE%-%COMPUTER%-%NAME1%.zip and CURRENT-WTF.zip
echo.
echo Backup from: %SOURCE2%
echo Backup to: %DEST2%
echo Will create: %DATE%-%COMPUTER%-%NAME2%.zip and CURRENT-ACCOUNT.zip
echo -------------------------------------------------
pause
:: DEBUG: Step 4 - Check folders
echo Checking existence of folders…
if not exist “%SOURCE1%” echo [ERROR] Missing: %SOURCE1% && pause && exit /b
if not exist “%DEST1%” echo [ERROR] Missing: %DEST1% && pause && exit /b
if not exist “%SOURCE2%” echo [ERROR] Missing: %SOURCE2% && pause && exit /b
if not exist “%DEST2%” echo [ERROR] Missing: %DEST2% && pause && exit /b
:: DEBUG: Step 5 - Backup WTF
echo BACKING UP: %SOURCE1%
if exist “%DEST1%\CURRENT-WTF.zip” (
echo Deleting old CURRENT-WTF.zip…
del /f /q “%DEST1%\CURRENT-WTF.zip”
)
echo Running PowerShell Compress-Archive for WTF…
powershell -NoLogo -Command ^
“Compress-Archive -Path (Get-ChildItem -Path ‘%SOURCE1%’ -File).FullName -DestinationPath ‘%DEST1%\CURRENT-WTF.zip’”
echo Copying to dated archive…
copy /y “%DEST1%\CURRENT-WTF.zip” “%DEST1%%DATE%-%COMPUTER%-%NAME1%.zip”
echo WTF backup complete.
:: DEBUG: Step 6 - Backup Your Account Folder
echo BACKING UP: %SOURCE2%
if exist “%DEST2%\CURRENT-ACCOUNT.zip” (
echo Deleting old CURRENT-ACCOUNT.zip…
del /f /q “%DEST2%\CURRENT-ACCOUNT.zip”
)
echo Running PowerShell Compress-Archive for Your Account Folder…
powershell -NoLogo -Command ^
“Compress-Archive -Path (Get-ChildItem -Path ‘%SOURCE2%’ -File).FullName -DestinationPath ‘%DEST2%\CURRENT-ACCOUNT.zip’”
echo Copying to dated archive…
copy /y “%DEST2%\CURRENT-ACCOUNT.zip” “%DEST2%%DATE%-%COMPUTER%-%NAME2%.zip”
echo Your Account Folder backup complete.
echo All done.
pause
PS Check the paths, apparently the wow forums eat \ characters, so make sure you double check all the paths arent missing any