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 often do you meet up (IRL) with your simracing friends?

  • Weekly

    Votes: 36 8.5%
  • Monthly

    Votes: 20 4.7%
  • Yearly

    Votes: 29 6.9%
  • Weekly at lan events

    Votes: 3 0.7%
  • Monthly at lan events

    Votes: 2 0.5%
  • Yearly at lan events

    Votes: 10 2.4%
  • Never have

    Votes: 330 78.2%
Back
Top