fox's Bank File Backup/Restoration Guide

Discussion in 'NOTD Discussion' started by Blaqk, Feb 5, 2012.

  1. Blaqk
    • Development Team
    • Webmaster/Ops

    Blaqk NOTD Staff: Operations and Web

    I'll be resuming ownership of this thread since fox is missing and his original post got Bjorked. Original post is as follows:

    Original Guide Below But..

    Vigil can do all the backup/restore for you.

    If you don't want to, then Fox's is below and contains everything you need to do it yourself. - Mirage

    Thank you Blaqk for restoring the Guide! A fine example of how important it is to back up regularly.

    I have reformatted the Guide just like before. Let this thread serve the community a bit longer until online bank takes over....

    ===================================================
    Bank File Backup

    Your NOTD bank file is saved locally on your hard disk. It is always a good idea to make backups at regular intervals (every week, every month, every 1k xp etc).

    Restoring your bank file from a back up is by far the easiest and safest way in case of data corruption or even hard disk failure, with a small cost. The more frequent you back up your bank file, the less xp/medals you will lose.



    WINDOWS XP/Vista/7

    I will use Windows XP as example in this guide. Windows Vista/7 users may find it at a slightly different location. If you cannot find the bank file in the folder listed below, try searching for "notdbank5.sc2bank" (Start ---> Search).

    Your NOTD bank file is stored at the following location:

    My Documents\StarCraft II\Accounts\xxxxxxxxx\N-S2-1-xxxxxx\Banks\N-S2-1-xxxxxx

    where x stands for a series of random numbers specific for your user profile on bnet and very importantly, N stands for the region of that specific user profile. If you play on more than 1 server, you will have to take extra care so that you don't accidentally overwrite the wrong files.

    For example, for a user who plays on both SEA and NA server, his profiles will be stored under:

    SEA: 6-S2-1-xxxxxx
    NA: 1-S2-1-xxxxxx
    EU: 2-S2-1-xxxxxx

    This information is vital if you want to synchronise your NOTD bank files between 2 servers.


    You will find 2 files in the aforementioned folders:

    notdbank5.sc2bank
    NOTDBackup.SC2Bank

    These are your notd bank files and its automatically generated backup. The auto-generated backup is usually lagging behind your bank file in time (by one -s) to provide you with a safety net should trouble occurs. It is advisable that you backup both files at regular intervals as previously mentioned.



    Mac OS

    For mac its a similar process:

    Go to Finder

    1) User Name --> Library --> Application Support --> Blizzard --> Starcraft II --> Accounts --> Serial1 --> Region-S2-1-Serial2 --> Banks
    (For region information refer to Windows section)

    2) Once in Banks: Click on individual folders to locate the specific files for NoTD (notdbank5.sc2bank and NOTDBackup.SC2Bank)

    If you cannot find the bank file in the location mentioned above, try searching for "notdbank5.sc2bank"

    Note: Some OS X users may have trouble locating the file due to it's HIDDEN attribute. Try the following steps (contributed by Corto):

    1) Type CMD + F in Finder
    2) Enter "notd" in the search box
    3) Click on "Kind" and scroll down and click on "Other...". In the resulting pop-up select "System files" and choose "Include".



    Things to note when you back up the bank files:

    1) Do NOT backup the files to the same hard drive. This only gives you a false sense of security. A disc failure will wipe out both the original and your backup, leaving you with nothing to recover from.

    2) Backup to a removable media is advisable, eg USB stick, CD/DVD or external hard disks. Another good method suggested by Ability is to email yourself the files, since the file size are relatively low. If you do not want to create a new folder, you can always rename your previous backups instead.

    3) Backup BOTH files just in case 1 of them is already corrupted at the time of backup.

    4) Do NOT overwrite your previous backup. Make a new folder called something like "NOTD-yyyy-mm-dd" and backup your bank there. The bank files are so small in size (under 1k each) and you should not be stingy about hard drive space when it comes to backing up your files.

    5) Name your backup folders smartly. Put something recognisable into the folder name eg "NOTD-yyyy-mm-dd-20k" so that you dont have to manually load up the bank file in game just to see what xp/medals you have. Something like this:

    [​IMG]

    ===================================================
    Bank File Restoration/Recovery

    OK now the scary part......

    I hope you won't ever have to use this but stuff happens according to Murphy's Law. And that's what this little article is here for. Here we go....


    The restoration section will be presented in flow chart style. Please follow the order to minimise your xp/medal loss.


    1) Have you saved/autosaved more than once?

    If Yes proceed step 2.

    If No:
    Locate the NOTDBackup.SC2Bank in your bank folder (see Bank File Backup section for folder location). Make a copy of this file and save it somewhere else just in case. Now rename the NOTDBackup.SC2Bank in your bank folder to notdbank5.sc2bank and see if it works. If not, proceed to step 2.


    2) Do you have a regular backup of bank files?

    If Yes:
    Copy your backup files into the bank folder (see Bank File Backup section for folder location). Choose Yes when asked whether to overwrite existing files or not. Load a game of NOTD and see if it works. If not, proceed to step 3.

    If No, proceed to step 3.


    3) Do you play on more than one region?

    If Yes:
    Copy your bank files from another region to replace the corrupted file. For region information refer to Bank File Backup section.

    If No, proceed to step 4.


    4) Did you delete the bank files accidentally?

    If Yes:
    Try a 3rd party data recovery program. I personally recommend Pandora Recovery, which is free and can be downloaded from CNET download.com. Run Pandora and see if you can locate the deleted bank files (refer to Bank File Backup section for folder/file name).

    If No, proceed to step 5.


    5) Are you using Windows 7?
    If Yes:
    Locate your bank file folder (refer to Bank File Backup section if you are unsure how to do this).
    In the folder, right-click on your bank file (notdbank5.sc2bank) and select "Properties."
    In the Properties screen go to "Previous Versions" tab.
    Under the "File Versions" list, choose the first available backup closest to date (ie you lose less xp/$$) and hit "Restore." Now go try NOTD and see if it's working for you. If this file is corrupted too, ie file is already corrupt when backed up automatically by Win7, choose a back up from earlier date.
    Note that this option is only available if you have set up Automatic Backup in Windows 7. If you haven't done it yet, go do it now and it'll save you tons of headache should crap happen. Just Google it if you are unsure how to do this.

    If No, proceed to Step 6.


    6) Did you have a hard drive failure?

    If Yes:
    Warning! The following is recommended for experts only! System failure may occur if not carried out properly! Ask a friend to do it if you're not comfortable about opening computer chassis and removing/installing parts.
    Try removing the failed hard drive and plug it into another computer (via either internal connectors or external usb connection). You may be able to recover lost data sometimes.

    If No:
    Well.....there's nothing I can think of at the moment that will restore your bank files. A lesson to be learned here is to BACK UP REGULARLY!



    ===================================================
    [Update Logs]

    2012-04-07:
    -Added region code for EU server (thank you Ability)

    2012-02-25:
    -Replaced old bank file system notdv003.SC2Bank with notdbank5.sc2bank to reflect recent changes
    -Minor edits

    2012-02-18:
    -Thread restored and reformatted as the original (special thanks to Blaqk for providing the backup)
    -Added additional restoration option (Step#5) for Windows 7

    2011-09-08:
    -Added additional note to Mac OS section (contributed by Corto)
    -Minor edits

    2011-07-12:
    -Minor formatting

    2011-05-29:
    -Added Mac section (special thanks to chanlionROAR)
    -Minor formatting
    ===================================================
    Last edited: Nov 17, 2014
  2. Ability
    • Development Team
    • NOTD Creator

    Ability NOTD Creator

    Is there a programmer in the community who can help code a simple Bank file backup executable?

    Requirements
    - Be something basic (probably <200kb) that finds the file on a player's PC and backups in a designated directory with a click of a button.
    - Allow multiple bank retrieval/restoration. Some players play on multiple servers and have multiple banks. As a personal and extreme example, I have 4 banks on my PC (SEA, NA-SEA, NA, EU Banks)
    - Simple button to restore old bank
    - Programmer who can make this open source so that community can continue upgrading it for future needs. In the long run, this tool may be used to extract Bank data to feed into our website servers on a macro level.

    The new program should pick up notdbank4.sc2bank.
    http://www.notdstarcraft.com/forum/show ... 42#pid2442
  3. ProbeGst

    ProbeGst Well-Known Member

    if you copy past on desk does it still get effected by change?
  4. DrawingDead

    DrawingDead Member

    If you make a separate folder and copy paste your original bank file it into "backup folder" it will stay separate from the original.
  5. Lord NiteShade
    • Wiki Founder
    • Community Leader

    Lord NiteShade NOTD Staff: Wiki Founder/TeamSpeak Admin

    I still prefer the USB approach, the amount of space is trivial, and you never know when something insidious will happen to your computer.
  6. ArcturusV

    ArcturusV New Member

    I use the e-mail method myself.

    Of course I find when backing up information the correct answer is usually: E) All of the above.
  7. Lyanden

    Lyanden Well-Known Member

    +1

    Though it can be a bit tedious. I would suggest the Email method as well. Makes it accessible as long as you have a net connection (which you should if you intend to play NOTD)
  8. Shooz
    • Donator

    Shooz NOTD Staff: Killjoy

    The best method for anyone to use would be to back up your bank regularly every week or so to several locations off of your computer(Flash Drive, External HDD, Email, Cloud Server) so that you have redundancy.
  9. Ability
    • Development Team
    • NOTD Creator

    Ability NOTD Creator

    The bank file name is now notdbank5.sc2bank.
  10. Lyanden

    Lyanden Well-Known Member

    I may be going online in a few hours for the first time in a week or so (before the new bank implementation). Is there anything that I (and other people in similar positions) should know/do in order to ensure a proper transition into the new save file?

    Already have 3 backups, one of them in my email. Your advice is appreciated :D
  11. ArcturusV

    ArcturusV New Member

    Apparently if you still have the v3 file it wouldn't save your XP gain on the v5 bank. So remove that from your active bank file folder. Only thing I can think of.
  12. DJudic

    DJudic New Member

    How to back up bank file?

    Hi

    I read somewhere but I can't find it now and search doesn't help me. So, how to back up the save file and eventually how, if it is possible, to transfer it to different computer?
  13. ArcturusV

    ArcturusV New Member

    RE: How to back up bank file?

    For Windows 7 at least (Because that's what I have):

    Go to My Documents. There should be a Starcraft folder. Open folder, there should be another with your account name on it. Then a folder labeled "Banks" in there.

    You'll have a number of folders. It's all some long string of numbers that I can't remember for the life of me with my dyscalculia. So just check through the folders. One of them should have two files in it. NOTDv5bank or something and NOTDbackup. Copy both.

    Back up to the method of your choice. If your concern is playing on another PC you can e-mail the file to yourself, then just download the file onto whatever PC you want to use. '


    EDIT: Or there is the sticky at the top of this forum: http://www.notdstarcraft.com/forum/show ... hp?tid=156 Which is much more detailed on where you find the bank files in question and such as needed.
  14. fox

    fox New Member

    DJudic, have you read the opening post? The Guide was updated to match the latest bank file revision so you should be able to find the bank easily by following the instructions.

    Do let us know if you are still having problem.
  15. Lord NiteShade
    • Wiki Founder
    • Community Leader

    Lord NiteShade NOTD Staff: Wiki Founder/TeamSpeak Admin

    I shove any thread bank related into this thread. It's better than deleting them or locking them and I hate forum clutter. The fact they created said thread is normally an indicator they didn't read the guide in the first place.
  16. fox

    fox New Member

    I see. That explains.
  17. Ability
    • Development Team
    • NOTD Creator

    Ability NOTD Creator

    Hi Fox, EU is Region 2 (NA - 1, SEA - 6). The 1 after SC2 is probably expansion ID. When HOTS comes out, it'll update to 2 (and then 3 for Legacy of the Voice) most likely.
  18. fox

    fox New Member

    Thanks Abi, added EU region code into the Guide.

    Yeah I think you're right about the digit that follows S2. HOTS bank file folder will probably look something like 1-S2-2-xxxxxx for NA and 6-S2-2-xxxxxx for SEA...
  19. Function

    Function New Member

    Done:
    https://github.com/joshho/SC2Bank-Tool

    Please enjoy, restoring functionality for your SC2Bank files will come soon in the near future.
  20. Mirage
    • Donator

    Mirage ಠ_ಠ What are you looking at?

    Function my advise is to not put -too- much work into the little utility because vigil will be doing bank backups as well, with more targets.

Share This Page