Register
Welcome to the Stormspire.net WoW Gold Forums!

Greetings, guest! Welcome to Stormspire.net, your #1 resource for WoW and Diablo 3 Gold, Professions, and everything in between!


Enjoy what the site offers? Consider Premium Membership if you wish to get the most out of the site. Premium Membership benefits include the acclaimed Goblineer's World of Warcraft Gold Guide, private forum access, a complimentary high-quality avatar, and much more!


If this is your first visit, make sure to check out the Stormspire.net Survival Guide for a quick site orientation. You may also register to unlock all standard forum features, and to get rid of these lovely ads!


We proudly host the Official forums for TradeSkillMaster, The Undermine Journal, and WoWuction.

Page 1 of 2 12 Last
Results 1 to 10 of 15
  1. #1
    Entrepreneur
    OccupyAH's Avatar
    Posts
    46
    Reputation
    0
    Tagged in
    16 Posts
    Add to this user's reputation

    Backup your WTF NOW

    I lost my settings today after a crash (btw does anyone know where the clock and actionbar (it whether shown or not) are stored as I still lost that?)

    Luckily I had a 2 week old backup of my WTF folder, but I still lost a few things.

    Here is a batch file you can use to backup your shit with winrar. It creates a WTF.rar containing your wtf folder, and it creates a WTF.old file which is a backup of your last backup, so basically if you backup a corrupt WTF folder you still have your old backup to restore from.

    For it to work you may need to make a folder in C called WTF and maybe a WTF.OLD file too and a WTF.rar the first time running it, after that its just a simple double click and its backed up your shit.

    cd "c:\WTF\"
    DEL WTF.OLD
    REN WTF.rar WTF.OLD
    cd "c:\"Program Files\WinRar"
    rar a -r -m5 c:\WTF\WTF C:\"World of Warcraft"\WTF\

    You could also do the last line again for Addons, but I didn't bother, curse can do that for me.

    Save as a .bat and run it every time you close wow after making changes to your TSM settings etc. There are ways of scheduling it, and i guess you could stick it in your start up folder but bear in mind that if you do and your pc crashes it will be backing up your corrupt wtf folder, and so you will need to restore from your wtf.old file by renaming it wtf.rar and extracting the wtf folder from it.

  2. #2
    Ethereal Contributor
    Spanky's Avatar
    Posts
    350
    Reputation
    20
    Tagged in
    112 Posts
    Add to this user's reputation
    I keep my account and interface folders in Dropbox (google drive would work, too) and use simlinks to point at it from the WoW folders on both my Mac and PC.

    Benefits - you can log into wow on a different computer and have everything where you want it, and in the event of a crash, your files are backed up online.

    Highly recommend using this as your new method since you are starting backups anyway and this accomplishes that plus has extra perks if you use more than one computer.

  3. #3
    US-Turalyon(A)
    Ethereal Contributor
    Akihito's Avatar
    Posts
    11
    Reputation
    0
    Tagged in
    3 Posts
    Add to this user's reputation
    I do the same thing with Dropbox. Works like a charm.

  4. #4
    hag
    Entrepreneur
    hag's Avatar
    Posts
    291
    Reputation
    17
    Tagged in
    89 Posts
    Add to this user's reputation
    Warning: overengineering follows.

    I use multiple machines at the same time so I can't use Dropbox symlink. Those are great but they lack a history. What if you just notice on Friday that you lost something a few days ago. Not just corrupt but a new version of the software wipes out some rules (e.g. Arkinventory ) and you want to see what you had.

    so my backup file is below.
    Running the bat file keeps some of the files I frequently want to use as uncompressed. And all the files compressed. Normal people would probably forgo the former.
    But it adds a couple of extra lines of code so that the compressed file is unique. So Archive_20121120_145932 does not overwrite Archive_20121121_154321 although only the latest is on Dropbox (or skydrive or amazon or apple or ...)

    tl:dr: it's only a couple of additional lines of code to keep multiple versions of the backups.


    cd "C:\Users\Public\Games\World Of Warcraft\WTF\Account"
    set ZDIRxxx=Archive_%date:~-4,4%%date:~-10,2%%date:~-7,2%_%time:~0,2%%time:~3,2%%time:~6,2%
    echo %ZDIRxxx%

    set ZDIRbase=%ZDIRxxx: =0%
    set ZDIR=C:\Users\Me\Documents\WoW\BU\MeBat\%ZDIRbase%
    set DBOX=C:\Users\Me\Dropbox\WoW\BU\_TSM_Bat

    echo %ZDIR%
    echo %ZDIRxxx%

    mkdir %ZDIR%
    dir %ZDIR%
    rem pause
    copy Me\SavedVariables\auc*.lua %ZDIR%
    copy Me\SavedVariables\ah*.lua %ZDIR%
    copy Me\SavedVariables\ark*.lua %ZDIR%
    copy Me\SavedVariables\dumps*.lua %ZDIR%
    copy Me\SavedVariables\tradeskill*.lua %ZDIR%


    dir %ZDIR%
    rem pause
    erase %DBOX%\*.*
    copy %ZDIR% %DBOX%\*.*
    dir %DBOX%\*.*

    "C:\Program Files\7-Zip\7z" a %ZDIR%zip Me
    copy %ZDIR%zip.7z %DBOX%\

  5. #5
    US-Turalyon(A)
    Ethereal Contributor
    Akihito's Avatar
    Posts
    11
    Reputation
    0
    Tagged in
    3 Posts
    Add to this user's reputation
    Quote Originally Posted by hag View Post
    I use multiple machines at the same time so I can't use Dropbox symlink. Those are great but they lack a history. What if you just notice on Friday that you lost something a few days ago. Not just corrupt but a new version of the software wipes out some rules (e.g. Arkinventory ) and you want to see what you had.
    https://www.dropbox.com/help/113/en

    Actually you are mistaken about that. All Dropbox accounts (Free and Pro) save a file history for 30 days. Pro accounts have the option to purchase Packrat which will save file history indefinitely. I have Pro and Packrat, but even with a Free account you have a 30 day backup of your files.

    I use dropbox to sync the wow configs between my iMac and my Macbook Pro. I switch between them every single day. It works flawlessly. And yes I too have had a config file blitzed by upgrading an addon and was very easily able to retrieve and old version through the Dropbox website. I *highly* recommend it.

  6. #6
    hag
    Entrepreneur
    hag's Avatar
    Posts
    291
    Reputation
    17
    Tagged in
    89 Posts
    Add to this user's reputation
    Quote Originally Posted by Akihito View Post
    https://www.dropbox.com/help/113/en

    Actually you are mistaken about that. All Dropbox accounts (Free and Pro) save a file history for 30 days. Pro accounts have the option to purchase Packrat which will save file history indefinitely. I have Pro and Packrat, but even with a Free account you have a 30 day backup of your files.

    I use dropbox to sync the wow configs between my iMac and my Macbook Pro. I switch between them every single day. It works flawlessly. And yes I too have had a config file blitzed by upgrading an addon and was very easily able to retrieve and old version through the Dropbox website. I *highly* recommend it.
    I have had this conversation before. I do not see how it could work since the problem is on the WoW end.

    Here is the use case.

    09:00 log into WoW on desktop, make some sales, Buy A
    09:30 log into WoW on laptop, Buy B
    09:40 log out of laptop

    At this point, the file on the laptop and soon DropBox has the .lua files with the B sale in it on disk.

    11:00 log out of desktop. The data in memory on that desktop has the A purchase, but not the B purchase that happened on the other machine. Upon exiting the desktop, this in-memory data is emitted as lua files. If this goes directly into Dropbox, it would overwrite the B purchase that is on disk. If you write it to desktop disk and then sync with DropBox, Dropbox has to decide which is the latest. but of course neither file is valid. I want a LUA file that contains both the A and the B transaction in it. The analogy is using an old version of Microsoft Word on a network drive - whichever user saved the file last "won" and the other users who had previously updated the document lost their info if they saved it after the first user loaded Word but before they saved it. (as opposed to a database or Google docs that support concurrency.) Yes, dropbox could save the LUA file with the A purchase in it or the B purchase in it, but there is no way to get the correct data, i.e. reflecting both A and B.

    Addon authors could come close to making this viable by putting a timestamp on each history record and then some outside of WoW application could merge transactions from both files. But to my knowledge, none do.

    Ofc, Dropbox works great if you never use two machines at once - perhaps because you only have one account. E.g., log onto desktop buy A, log off desktop, dropbox it, log onto laptop, buy B, log off. Now you would have LUA files with both transactions in them. But as soon as you have two machines logged in at once, Dropbox has no way of merging two WoW lua program files and the addons have not bothered to go to non-trivial effort to support this advanced case.

  7. #7
    US-Turalyon(A)
    Ethereal Contributor
    Akihito's Avatar
    Posts
    11
    Reputation
    0
    Tagged in
    3 Posts
    Add to this user's reputation
    Quote Originally Posted by hag View Post
    I have had this conversation before. I do not see how it could work since the problem is on the WoW end.
    I'm really not trying to be difficult, but I believe you are mistaken again. WoW writes out the LUA files every time you log out of an individual character. Dropbox immediately syncs files as soon as they have been updated. So in your use case:

    09:00 - Desktop data in memory for Account 1
    09:30 - Laptop data in memory for Account 2
    09:40 - Laptop data pushed to disk for Account 2. Dropbox on laptop immediately pushes data to cloud. Dropbox on desktop immediately pulls data down to disk for Account 2.
    11:00 - Desktop data pushed to disk for Account 1. Yada yada.

    There is no conflict because they are writing to, and using, separate files. The LUA files for Account 1 and the LUA files for Account 2 are different files, period.

    As I am sure you know, WoW does not allow you to have two characters from the same account on at the same time, so WoW simply will not let you get into a situation where the same files are going to be in conflict.

  8. #8
    hag
    Entrepreneur
    hag's Avatar
    Posts
    291
    Reputation
    17
    Tagged in
    89 Posts
    Add to this user's reputation
    Quote Originally Posted by Akihito View Post
    There is no conflict because they are writing to, and using, separate files. The LUA files for Account 1 and the LUA files for Account 2 are different files, period.

    As I am sure you know, WoW does not allow you to have two characters from the same account on at the same time, so WoW simply will not let you get into a situation where the same files are going to be in conflict.
    Sorry I am not trying to be difficult and since you were kind enough to continue the discussion, I see where the problem is, as quoted above.

    Ever since I got my second account, I did
    http://wiki.norganna.org/Auctioneer/CrossAccountSharing

    So to WoW and all addons, all the toons from multiple accounts look as if they were on the same account. It is such a huge hassle to not have the information consolidated. With this, all the inventory, sales, snatch lists, tsm profiles & snatch, etc are combined. Similarly, if I change a bartenter or X-perl or powerauras profile on an account1 toon, it is reflected on account2 toons. Or vice versa. I find it very convenient.

    So when a toon on account2 updates a file in
    C:\Users\Public\Games\World Of Warcraft\WTF\Account\ACCOUNT2\SavedVariables
    due to the power of symbolic links, it updates the identical .lua file as
    C:\Users\Public\Games\World Of Warcraft\WTF\Account\ACCOUNT1\SavedVariables

    So if I log onto toon1 on accoint 1 and do something that affects ArkInventory.lua and log off, the data is written to disk. When I log onto the second account, it reads the *same* file since
    C:\Users\Public\Games\World Of Warcraft\WTF\Account\ACCOUNT2\SavedVariables\ArkIn ventory.lua
    and
    C:\Users\Public\Games\World Of Warcraft\WTF\Account\ACCOUNT1\SavedVariables\ArkIn ventory.lua

    are synonyms for the same disk file. So now without any sharing or syncing, the toon2 can search and see the inventory of all the toons on account1 and account2.

    But that means that all toons on all accounts use the same, not separate, ArkInventory.lua and thus two toons could open and want to update the same file hence no DropBox.

  9. #9
    US-Turalyon(A)
    Ethereal Contributor
    Akihito's Avatar
    Posts
    11
    Reputation
    0
    Tagged in
    3 Posts
    Add to this user's reputation
    Quote Originally Posted by hag View Post
    Ever since I got my second account, I did
    http://wiki.norganna.org/Auctioneer/CrossAccountSharing
    Neither one of is trying to be difficult. No harm in an actual discussion of the topic. Neither of us is being rude.

    From the top of the page that you linked, it says "This will not work like you want if you ever play both of the accounts in question at the same time. If you have both accounts logged in at the same time, the last account to logout will overwrite any data the first account to logout may have collected and written to disk. If you play both accounts at the same time, you are probably better off manually copying the files."

    It sounds as though your current setup also leaves you open for conflicting / missing data. I will agree that given the limitations of WoW itself there isn't really a good and guaranteed way to do what you are wanting to. However, that has absolutely nothing to do with Dropbox. The conflicting data situation in your use case can and will happen even on a single machine with two instances of WoW open.

    The bottom line is that Dropbox works extremely well for the vast majority of folks that might want to use it for a backup. While its primary function is for syncing data across multiple machines, the built in (free) 30 day history makes it work quite well for keeping a backup as well. Please don't discourage the majority of people from using Dropbox just because it won't work correctly for your outlier use case. (Though I still think your current setup doesn't work the way you want it to.)

  10. #10
    hag
    Entrepreneur
    hag's Avatar
    Posts
    291
    Reputation
    17
    Tagged in
    89 Posts
    Add to this user's reputation
    Yes. contrary to all internet norms this has been quite civil.

    I strongly encourage people to use DropBox or one of the competitors. I use dropbox as a backup. I also use carbonite so the files in my dropbox folder are automatically backed up to the carbonite servers as well as a local time machine drive.

    On my special case, I never use multiple instances of WoW on the same machine so that is not a problem for me. I meant account in two senses: "I use two separate Blizzard accounts simultaneously, on multiple separate machines, each machine uses links so all the blizzard account toons write data into the same "account" folder on disk. It just means that I have to designate a machine as "groundtruth" and periodically dropbox the lua out to other machines, where I oeverwrite their inventory and snatch lists. I.e., I have to manually do the sync.

 

 
Page 1 of 2 12 Last

Similar Threads

  1. Backup of all TSM group data?
    By mattvct in forum Official TradeSkillMaster Forum
    Replies: 2
    Last Post: October 14th, 2011, 06:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •