# Node Management

> **`Monitoring Node Status`**

{% tabs %}
{% tab title="1. Check Node Status" %}

<pre><code><strong>daeta-node status
</strong></code></pre>

{% code title="Example output:" %}

```
Node ID: 12D3KooWA8VXg6ri3xV3io8o5m1qdYKNdkXrtdSVbVQcPwa8VQMs
Status: Online
Uptime: 7d 3h 45m
Storage Used: 756.4 GB / 1.0 TB
Bandwidth Used: 2.3 TB (Up) / 1.7 TB (Down)
Reputation Score: 98.7
Earnings (Last 30 days): 534.21 DÆTA
```

{% endcode %}
{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="2. View Detailed Metrics" %}
Access the Prometheus metrics endpoint:

```
http://YOUR_NODE_IP:9000/metrics
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="3. Set up Grafana Dashboard" %}
Install Grafana.

Import the DÆTA Node Dashboard (ID: 12345).

Configure data source to your node's Prometheus endpoint.
{% endtab %}
{% endtabs %}

> **`Updating Node Software`**

```bash
daeta-node version
```

{% code title="2. Update Software" %}

```bash
sudo daeta-node update
```

{% endcode %}

{% code title="3. Restart Node" %}

```bash
sudo systemctl restart daeta-node
```

{% endcode %}

> **`Managing Storage`**

{% code title="1. Add Storage" %}

```bash
daeta-node storage add --path /mnt/new_drive --size 2TB
```

{% endcode %}

{% code title="2. Remove Storage" %}

```bash
daeta-node storage remove --path /mnt/old_drive
```

{% endcode %}

{% code title="3. List Storage" %}

```bash
daeta-node storage list
```

{% endcode %}

> **`Backup and Recovery`**

{% code title="1. Create Backup" %}

```bash
daeta-node backup create --output /path/to/backup/location
```

{% endcode %}

{% code title="2. Restore from Backup" %}

```bash
daeta-node restore --input /path/to/backup/file
```

{% endcode %}
