---
title: "Rojo Syncback"
url: /docs/en-us/projects/rojo/syncback
last_updated: 2026-12-03T00:17:41Z
description: "Import a saved Studio place or model into a Rojo-managed repo with the syncback command, then preview, apply, and verify the result."
---

# Rojo Syncback

**Syncback** imports supported changes from a saved Roblox Studio place or model file into a filesystem-backed Rojo project. It updates existing source files, creates files for new instances, and removes files for deleted instances. Use it to adopt Rojo in an existing game, or to bring Studio-authored content into a Git-managed production.

Syncback is a one-time snapshot import, not continuous two-way sync. Studio produces the snapshot; the filesystem and Git stay the reviewed source of truth.

> **Warning:** Syncback can delete or rewrite repository files. Run it on a clean, disposable branch and preview every change before you apply it. An outdated snapshot can undo newer work already in the repo.
## Set up Syncback

Install the Rojo CLI and pin it for your team with [Rokit](https://github.com/rojo-rbx/rokit):

```toml
[tools]
rojo = "rojo-rbx/rojo@7.7.1"
```

```bash
rokit install
rojo --version
rojo syncback --help
```

The CLI runs Syncback on its own. The Rojo Studio plugin helps with the normal live-development loop, but you don't need it to import an already-saved `.rbxl` or `.rbxlx` snapshot.

You also need Git and a normal, full `rojo build` project configuration. Commit or stash unrelated changes before you start.

## Scope what Syncback owns

Syncback only walks instances represented by, or descending from, nodes in its project tree. Start with one contained area instead of exposing every service in a production place.

Create a dedicated `syncback.project.json` next to the folder it maps. For example, this maps a `Level` model in `Class.Workspace` to `src/Level`:

```json
{
  "name": "ExampleGame",
  "tree": {
    "$className": "DataModel",
    "Workspace": {
      "$className": "Workspace",
      "Level": {
        "$className": "Model",
        "$path": "src/Level"
      }
    }
  },
  "syncbackRules": {
    "ignoreTrees": [],
    "ignorePaths": ["src/Level/Generated/**"],
    "ignoreProperties": {
      "Instance": ["SerializedOverrides", "ExplorerIconContent"]
    },
    "syncCurrentCamera": false,
    "syncUnscriptable": true,
    "ignoreReferents": false
  }
}
```

This mapping is a starting point, not a drop-in replacement for your project: names, classes, paths, and folders must match your game. The `ignoreProperties` entries suppress properties that Studio writes on every instance but your pinned Rojo version doesn't recognize as defaults. Without them, the first import adds a `.meta.json` beside every script and folder and rewrites every `.rbxm`. After a Studio or Rojo update, run a dry run against a fresh, unmodified save and add any new properties you see.

Syncback writes property and attribute changes on project-node instances, such as `Workspace` and `Level` in the example above, into `syncback.project.json`, not into your build project. Review this file in every diff, and copy any new `$properties` or `$attributes` into `default.project.json`, or your full build won't include them.

### syncbackRules fields

| Field | Purpose |
| --- | --- |
| `ignoreTrees` | Instance paths to exclude from extraction and deletion, using `/` separators without the `DataModel` root. Matching is a string prefix. |
| `ignorePaths` | Repository paths, relative to the project file, that Syncback must not write or delete. Supports glob patterns. Paths under `.git/` are always protected. |
| `ignoreProperties` | Map of class name to property names to exclude. Rules follow class inheritance. |
| `syncCurrentCamera` | Whether to include `Workspace.CurrentCamera`. `false` by default when a `syncbackRules` block is present. |
| `syncUnscriptable` | Whether to capture properties the Studio plugin can't normally set. `true` by default. |
| `ignoreReferents` | Whether to omit instance-reference properties, such as `Model.PrimaryPart`. `false` by default. |

See the [Rojo project format](https://rojo.space/docs/v7/project-format/) for the full reference, including fields not covered here.

Keep generated assets, build products, secrets, and unrelated services outside the Syncback scope. Ignore rules aren't a safety net for other roots accidentally added to the project tree. An unknown or misspelled key in `syncbackRules` makes the project fail to load.

## Save a snapshot from Studio

1. Open the correct development place, or a local copy, not a live production place.
2. Make the intended changes in the scoped model: geometry, arrangement, scripts, properties, attributes, and supported descendants.
3. Use **File → Save to File As** to produce a `.rbxl` or `.rbxlx` snapshot. Put it in a temporary `snapshots/` directory outside Git, or add that directory to `.gitignore`. Syncback also accepts `.rbxm`/`.rbxmx`, provided the model has exactly one root instance.
4. Record which Git commit or branch the place was based on. Don't import an older snapshot over newer filesystem edits.

You don't need a running `rojo serve` connection for the Syncback command itself.

## Preview, apply, and review

Inspect the proposed operation first:

```bash
rojo syncback syncback.project.json \
  --input snapshots/level-edit.rbxl --dry-run --list
```

Examine every listed path. The list doesn't separate creations from modifications, so use the Git diff after you apply for that. If the list includes unrelated files or large unexpected changes, stop and narrow the project mapping or fix the snapshot.

Then apply it on your disposable branch:

```bash
rojo syncback syncback.project.json \
  --input snapshots/level-edit.rbxl
git add -A
git status --short
git diff --cached --stat
```

Stage before diffing: a new instance is an untracked file, and `git diff` alone doesn't show untracked files. Staging also lets Git pair a reparent or rename, which Syncback otherwise records as a delete plus a create. Review binary `.rbxm` changes in Studio, since Git can't show a useful diff for them.

## Rebuild and verify

Build with your normal, complete project mapping, not the narrower Syncback mapping:

```bash
mkdir builds
rojo build default.project.json -o builds/rebuilt.rbxl
```

1. Open `rebuilt.rbxl` in Studio and inspect the imported content, including script behavior and references.
2. Run gameplay or automated smoke tests to confirm meshes, unions, and external assets survived the rebuild.
3. Save the rebuilt place to a new snapshot and run a second dry run. A clean round trip shows no further changes. Investigate any repeated rewrites.
4. Commit only reviewed source and model changes, and merge through a pull request with a reviewer for binary content.

## Limitations in Rojo 7.7.1

> **Info:** These behaviors were observed with the Rojo 7.7.1 CLI. Check the current [Rojo changelog](https://github.com/rojo-rbx/rojo/blob/master/CHANGELOG.md) before you rely on them, since Syncback is still an evolving feature.

| Behavior | What happens |
| --- | --- |
| Binary by default | New instances get text files only for scripts and a short list of other classes. Every new Part, MeshPart, Union, or Model becomes its own `.rbxm`. Existing file representations are kept. |
| Duplicate sibling names | If an instance has two children with the same name, Syncback writes the whole instance as one `.rbxm` and deletes its directory, including any scripts that were previously text files. |
| Studio property churn | Studio saves properties newer than the Rojo CLI's bundled reflection database, and Syncback writes them out as non-default values. Add new ones to `ignoreProperties` as you find them. |
| Stale snapshots | Syncback doesn't compare the snapshot against Git history. Importing an older snapshot silently overwrites newer repository edits. |
| Terrain | Rojo 7.7.1 can't decode `Class.Terrain.VoxelGridAssetContentMap\|VoxelGridAssetContentMap`. Keep `Class.Terrain\|Terrain` outside the Syncback scope, or that data is lost on import. |
| Project-node properties | Changes to instances defined directly in the project file are written into the Syncback project file, not the build project. See [Scope what Syncback owns](#scope-what-syncback-owns). |

## Best practices

Use Syncback as a controlled import stage, owned by one person or a small tools team, with a small mapped root per level or model. Before you apply a snapshot:

- Start from a clean, disposable branch and a known snapshot baseline.
- Review the dry-run output before applying.
- Run a full `rojo build` and verify the rebuilt place in Studio.
- Avoid unattended Syncback runs against production branches or a snapshot of uncertain age.

## Reference

- [Rojo v7.7.1 release](https://github.com/rojo-rbx/rojo/releases/tag/v7.7.1)
- [Rojo v7.7.0 release: Syncback](https://github.com/rojo-rbx/rojo/releases/tag/v7.7.0)
- [Rojo project format](https://rojo.space/docs/v7/project-format/)