Skip to content
Atuin

atuin store

Manage the atuin data store

Terminal window
atuin store <COMMAND>

Print the current status of the record store

Terminal window
atuin store status

Rebuild a store (eg atuin store rebuild history)

Terminal window
atuin store rebuild <TAG>
  • <TAG>

Re-encrypt the store with a new key (potential for data loss!)

Terminal window
atuin store rekey [KEY]
  • <KEY>: The new key to use for encryption. Omit for a randomly-generated key

Rewrite every record in the compact on-disk encoding and reclaim space

Terminal window
atuin store compact

Delete all records in the store that cannot be decrypted with the current key

Terminal window
atuin store purge

Verify that all records in the store can be decrypted with the current key

Terminal window
atuin store verify

Push all records to the remote sync server (one way sync)

Terminal window
atuin store push [OPTIONS]
  • -t <TAG>, --tag <TAG>: The tag to push (eg, ‘history’). Defaults to all tags

  • --host <HOST>: The host to push, in the form of a UUID host ID. Defaults to the current host

  • --force: Force push records

    This will override both host and tag, to be all hosts and all tags. First clear the remote store, then upload all of the local store

  • --page <PAGE>: Page Size

    How many records to upload at once. Defaults to 100. Default: 100.

Pull records from the remote sync server (one way sync)

Terminal window
atuin store pull [OPTIONS]
  • -t <TAG>, --tag <TAG>: The tag to push (eg, ‘history’). Defaults to all tags

  • --force: Force pull records

    This will first wipe the local store, and then download all records from the remote

  • --page <PAGE>: Page Size

    How many records to download at once. Defaults to 100. Default: 100.