CLI Reference
memories sync
Manage remote cloud sync.
memories sync <subcommand> [options]Enable and manage cloud synchronization of your memories database. Sync uses Turso embedded replicas to keep a local copy of your database that syncs with a remote cloud database.
Subcommands
memories sync enable
Provision a cloud database and enable sync.
| Option | Description |
|---|---|
-o, --org <org> | Organization name (default: "webrenew") |
memories sync enableThis command:
- Authenticates with the memories.sh API (must be logged in)
- Provisions a cloud database
- Recreates the local database as an embedded replica with WAL mode
- Saves sync configuration to
~/.config/memories/sync.json
memories sync push
Push local changes to the remote database.
memories sync pushmemories sync status
Show the current sync configuration.
memories sync statusDisplays: remote URL, organization, and database name.
Prerequisites
You must be logged in to enable sync:
memories login
memories sync enableSee Cloud Sync for a detailed setup guide.