Updating and backups

To update, run the install command again. Your tasks, keys and settings stay where they are. A script install also backs up its database every night and keeps the newest 14, so you can step back to any day in the last two weeks. With Docker, run the same backup from your own scheduler, as shown below.

Update a script install

curl -fsSL https://raw.githubusercontent.com/tech-team-up/techteamup/main/scripts/install.sh | bash

The script fetches the latest code, installs its packages and restarts the service. It keeps your env file, and any option you pass now (such as --port) still changes its line. For an install made with --name, pass the same name again.

Check what is running at /api/version on your install, which shows the running commit.

To stay on a particular branch or tag, or step back to one, run the command with --ref, for example bash -s -- --ref <tag>. Updates then come from that branch or tag.

Update a Docker install

Pull the newest image and start it again. Everything the app keeps is in the /data volume, so it carries over.

docker compose pull
docker compose up -d

Nightly backups

The script install sets up techteamup-backup.timer, which makes an online SQLite backup each night and keeps the newest 14.

Install Backups
Script ~/.local/share/techteamup/backups
Docker /data/backups. Run node scripts/backup.js in the container from your own scheduler

Backups hold the database only, never encryption.key. Keep a copy of that key (or your ENCRYPTION_KEY) somewhere else, such as your password manager. A database restored without its key keeps everything except the keys of connected services, which you then connect again. More in security.

Restore a backup

Files you upload are kept in the data folder’s files folder, not in the nightly backup, so include the whole data folder in your machine’s own backups as well.

For a script install, stop the service, copy the backup over the database, remove the journal files and start it again.

systemctl --user stop techteamup
cp ~/.local/share/techteamup/backups/techteamup-<timestamp>.db ~/.local/share/techteamup/data/techteamup.db
rm -f ~/.local/share/techteamup/data/techteamup.db-wal ~/.local/share/techteamup/data/techteamup.db-shm
systemctl --user start techteamup

For Docker, the database is /data/techteamup.db in the volume. Stop the app, copy the backup over it from a one-off container, then start it again.

docker compose stop techteamup
docker compose run --rm --no-deps techteamup sh -c 'cp /data/backups/techteamup-<timestamp>.db /data/techteamup.db && rm -f /data/techteamup.db-wal /data/techteamup.db-shm'
docker compose start techteamup

Reset the owner’s password

Set a new password for the account owner from the command line. It signs out only the owner’s devices, and everyone else keeps their login. The password is read from standard input, never from the command line, and is never printed.

For a script install, run it from the app’s folder and point it at the install’s database.

cd ~/.local/share/techteamup/app
printf %s "$PASSWORD" | DB_PATH=~/.local/share/techteamup/data/techteamup.db npm run --silent set-owner -- --email [email protected]

In a checkout, where the database is data/techteamup.db, the shorter form works.

printf %s "$PASSWORD" | npm run --silent set-owner -- --email [email protected]

Move to a new machine

Install on the new machine, stop it, then copy across the data folder (~/.local/share/techteamup/data, which holds the database, uploads, encryption.key, mcp.token and the push keys) before starting it again. If you set ENCRYPTION_KEY or MCP_TOKEN in the env file instead, copy those lines across too. Your agent keeps working with the same MCP token. If the address changes, save the new one in Admin settings or APP_BASE_URL, and send your agent the updated join instruction from Admin settings › Agents.

Next

Install has every install option, and security covers HTTPS.

Something unclear? Open an issue