Your data and backups

Studio keeps your work in your documents and the machines' state in a folder of its own. This chapter lists what is where, what to back up and how to move to another computer.

What is where

Two folders hold everything that is yours:

Jobs, programs and their versions

Documents\Twinwright Studio\programs\<program>\ holds one file for each version of a program (v0001.nc) and a note of when, by whom and why it was saved (v0001.json). The CAM job that made a program is versioned next to it (job-v0001.json). Studio never prunes them.

Tools > Settings… > Files can put the programs folder elsewhere (at the next start).

Reports

Documents\Twinwright Studio\Reports\: inspection reports (PDF and CSV), setup sheets (HTML) and diagnostics packages (ZIP).

The machines and their worlds

Each machine has a world in the state folder: the table, the workpiece with its cuts, the tools and the tool table, the work offsets, the controller's settings, the temperatures, the running hours and the probe's calibration. Studio writes it while you work, each time the machine has stood still for two seconds after a change, and again when you close the window. The first machine's world is in world\, the others' in machines\<id>\world\.

Settings

settings.json in the state folder holds all of Tools > Settings…; window.json the window's place and size.

The audit log

Documents\Twinwright Studio\logs\ holds a file a day (audit-YYYY-MM-DD.jsonl). The records are chained, so a change or a gap shows when you verify the log (Tools > Settings… > Log > Verify integrity). By default the log keeps 180 days and at most 2 GB; Tools > Settings… > Log changes that. Copy the whole folder to keep the chain whole.

What to back up

Close Studio, then copy both folders: Documents\Twinwright Studio and %LOCALAPPDATA%\Twinwright\Studio.

Two things do not move with a copy:

Moving to another computer

  1. On the old computer, close Studio and copy both folders.
  2. Install Studio on the new computer and start it once, then close it.
  3. Copy both folders into the same places on the new computer.
  4. If you moved the programs or the log folder in the settings, check that those folders exist.
  5. Start Studio, activate the licence and type the AI keys again.
  6. Connect your AI clients again (AI > Connect AI clients…).

Starting a machine afresh

A factory reset puts the machine in your window back as it came: its world goes (the workpiece, the tools, the offsets, the controller's settings, the probe's calibration) and Studio starts again.

  1. Choose File > Factory reset… (Technician level and up).
  2. Within 5 seconds, choose it again to confirm.

Only that machine is reset. Your programs, reports, the audit log, the settings and the other machines stay. The reset is recorded in the audit log.