> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rocksky.app/llms.txt
> Use this file to discover all available pages before exploring further.

# sync

> Sync local Rocksky data from the AT Protocol.

Pull your scrobbles and metadata from the AT Protocol into local state.
Useful when running the [local scrobble API](/cli/scrobble-api) or after
restoring from a backup.

## Usage

```bash theme={null}
rocksky sync
```

Run `rocksky help sync` for the optional flags.
