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's needed for simracing in 2024?

  • More games, period

  • Better graphics/visuals

  • Advanced physics and handling

  • More cars and tracks

  • AI improvements

  • AI engineering

  • Cross-platform play

  • New game Modes

  • Other, post your idea


Results are only viewable after voting.
Back
Top