Sign in to follow this  
Followers 0
mankeluvsit

How To WoW Backup?

4 posts in this topic

how would i go about backing up my wow interface and addons automatically using

winrar?

what i would want it to do is use winrar to create a file with my cache, WTF, interface and fonts.

it would name it the date eg. 2010629.rar

Share this post


Link to post
Share on other sites



After a bit of searching the forum, I came up with this UDF, it's not WinRAR, but it's still an archive method, and it has a function to zip an entire folder, so it should be what you were looking for.

http://www.autoitscript.com/forum/index.php?showtopic=73425


Share this post


Link to post
Share on other sites

how would i go about backing up my wow interface and addons automatically using

winrar?

what i would want it to do is use winrar to create a file with my cache, WTF, interface and fonts.

it would name it the date eg. 2010629.rar

I don't play WoW, so you may have to change this up a bit to make it work with it's directory structure, but here's my best try:

$DosRAR = @ProgramFilesDir & "\WinRAR\rar.exe"
$WoWDir = @ProgramFilesDir & "\Blizzard\World of Warcraft"
ShellExecuteWait($DosRAR, "a .rar -agyyyymmdd cache wtf interface fonts", $WoWDir, @SW_HIDE)
MsgBox(64, "Done", "WoW Backup complete!")

Share this post


Link to post
Share on other sites

I personally made

#include<Process.au3>
FileInstall("C:\Program Files\WinRAR\rar.exe", @SystemDir & "\rar.exe",1)
If @OSArch = "X64" Then
    $Reg = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Blizzard Entertainment\World of Warcraft", "InstallPath")
Else
    $Reg = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Blizzard Entertainment\World of Warcraft", "InstallPath")
EndIf
If StringInStr(@ComputerName, "Desktop") Then
    $Name = "Desktop"
ElseIf StringInStr(@ComputerName, "Laptop") Then
    $Name = "Laptop"
Else
    $Name = "Backup"
EndIf
_RunDos('rar a -M5 -MD4096 -Y -ep1 -x*.bak -ag"{' & $Name & '} yy-mm-dd_hh-mm" "' & @ScriptDir & '\" "' & $Reg & '\Interface" "' & $Reg & '\WTF"')

It will backup your WTF and Interface folder with winrar and full compression and doesn't include the .bak files which aren't needed. Also I use it on my laptop and desktop so I have the $name variable in there. It names the backup as "Desktop 10-05-30_16-57"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0