# atuin store

<!-- Generated by web/apps/docs/scripts/gen-reference.ts from the Atuin source. Do not edit. -->

Manage the atuin data store

```sh
atuin store <COMMAND>
```

## `atuin store status`

Print the current status of the record store

```sh
atuin store status
```

## `atuin store rebuild`

Rebuild a store (eg atuin store rebuild history)

```sh
atuin store rebuild <TAG>
```

### Arguments

- `<TAG>`

## `atuin store rekey`

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

```sh
atuin store rekey [KEY]
```

### Arguments

- `<KEY>`: The new key to use for encryption. Omit for a randomly-generated key

## `atuin store compact`

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

```sh
atuin store compact
```

## `atuin store purge`

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

```sh
atuin store purge
```

## `atuin store verify`

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

```sh
atuin store verify
```

## `atuin store push`

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

```sh
atuin store push [OPTIONS]
```

### 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`.

## `atuin store pull`

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

```sh
atuin store pull [OPTIONS]
```

### 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`.