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

How long have you been simracing

  • < 1 year

    Votes: 346 15.6%
  • < 2 years

    Votes: 238 10.7%
  • < 3 years

    Votes: 236 10.6%
  • < 4 years

    Votes: 176 7.9%
  • < 5 years

    Votes: 297 13.4%
  • < 10 years

    Votes: 257 11.6%
  • < 15 years

    Votes: 163 7.3%
  • < 20 years

    Votes: 125 5.6%
  • < 25 years

    Votes: 99 4.5%
  • Ok, I am a dinosaur

    Votes: 287 12.9%
Back
Top