Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more

🦌 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