🦌 Terrabackpack

Deno 🦕 scripts to back up Terraria game files 🌲.

Install 💚

You must have deno installed in order to use these scripts.

deno install --allow-read --allow-env --allow-write -n tb https://raw.githubusercontent.com/wyvernbw/terrabackpack/main/src/run.ts

Once installed you can run the script with tb.

tb config setup

Usage

Create a backup 📦

# back up everything
tb backup all
# back up one of these folders at a time
tb backup [world/player/resourcePacks]

Edit config file 📝

tb config set <key> <value>

possible keys:

  • gamePath - path to the Terraria game folder
  • backupPath - path to the backup folder

To reset your config file, run:

tb config setup