Easy way to back up your projects...

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.
 
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:
 
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)?

You mean here? Not seen yet.

projbackup_001_as.jpg
 

Latest News

What would be the ideal raceday for you to join our Club Races?

  • Monday

    Votes: 12 14.0%
  • Tuesday

    Votes: 9 10.5%
  • Wednesday

    Votes: 10 11.6%
  • Thursday

    Votes: 11 12.8%
  • Friday

    Votes: 33 38.4%
  • Saturday

    Votes: 46 53.5%
  • Sunday

    Votes: 35 40.7%
Back
Top