• Racing is not a matter of life and death. It's much more important than that!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you have any questions, please don't hesitate to ask. There's no such thing as a stupid question.

Easy way to back up your projects...

Discussion in 'Bob's Track Builder' started by R Soul, Aug 23, 2010.

  1. R Soul

    R Soul

    Messages:
    956
    Ratings:
    +190
    I've written a batch file that uses 7-zip to compress a project folder:
    View attachment proj_backup.7z
    It doesn't include the XPacks because they are huge. Instead it makes a list of XPacks required by the project, so if you need to restore the backup, you can consult the list to see what .zip files you need.

    In order to extract the above file, you'll need to install 7zip, which is free. Get it here. The readme contains instructions. You just need to tell it where your projects/btb folders are, along with the location of 7zip. It also comes with an option to add the current date to the backup's filename, so you can have one backup for each day.
     
  2. Andre_1th

    Andre_1th

    Messages:
    295
    Ratings:
    +0
    Don't need 7zip. I always open .7z files with winrar. Testing prg later, tnx !
     
  3. Kris Vickers

    Kris Vickers
    Hardware Staff

    Messages:
    1,221
    Ratings:
    +13
    Why couldn`t you have come up with this BEFORE my hardrive failed?? lol

    Bloody typical.


    Great Idea though :)
     
  4. Raido

    Raido

    Messages:
    379
    Ratings:
    +14
    Nice idea indeed, thanks RSoul!
     
  5. Andre_1th

    Andre_1th

    Messages:
    295
    Ratings:
    +0
    Holy Sheep

    Holy sheep ! It works even with winrar.

    My little changes:

    set proj_name=aa01
    set btb_path="d:\Program Files\BobsTrackBuilder\My Projects"
    set zpath="d:\Program Files\WinRAR\WinRAR.exe"

    You're sheeping good m8 :thumb:
     
  6. R Soul

    R Soul

    Messages:
    956
    Ratings:
    +190
    Funny how it works with winrar. I guess they copied of each other. Or they adhered to conventions.

    Does the exclusion still work (so it doesn't add *.zip or thumbs.db)?
     
  7. Paul Minnaar

    Paul Minnaar

    Messages:
    213
    Ratings:
    +2
    Thanks for this R Soul - Will come in handy.
     
  8. Kyle Puttifer

    Kyle Puttifer
    @ Simberia @Simberia

    Messages:
    1,487
    Ratings:
    +93
    :tongue:
     
  9. Andre_1th

    Andre_1th

    Messages:
    295
    Ratings:
    +0
    You mean here? Not seen yet.

    projbackup_001_as.jpg