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

# Upgrade and Maintenance

Ault uses Cosmovisor for automatic binary upgrades.

## Install Cosmovisor

```bash theme={null}
sudo apt install -y golang-go git build-essential

git clone https://github.com/cosmos/cosmos-sdk.git

cd cosmos-sdk
git checkout cosmovisor/v1.7.1
make cosmovisor

sudo cp tools/cosmovisor/cosmovisor /usr/local/bin/
```

## Initialize

```bash theme={null}
export DAEMON_NAME=aultd
export DAEMON_HOME=$HOME/.aultd

cosmovisor init /usr/bin/aultd
```

## systemd Service

Create the following file:

`/etc/systemd/system/cosmovisor.service`

Set the service command to:

`ExecStart=/usr/local/bin/cosmovisor run start --home $HOME/.aultd --chain-id ault_10904-1`

Then enable and start the service:

```bash theme={null}
sudo systemctl daemon-reload
sudo systemctl enable cosmovisor
sudo systemctl start cosmovisor
```

## Upgrade Process

When a new binary is released:

* Place the new binary in the Cosmovisor upgrades directory
* Verify version
* Restart service if required

## Maintenance Tasks

* Monitor disk growth
* Rotate logs
* Apply security updates
* Verify key backups
