Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/shared/influxdb3-admin/backup-restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ BACKUP_DIR="/backup/BACKUP_DATE"
DATA_DIR="/path/to/data"

# 1. Stop InfluxDB
systemctl stop influxdb3 || docker stop influxdb3-core
systemctl stop influxdb3-{{< product-key >}} || docker stop influxdb3-{{< product-key >}}

# 2. Optional: Clear existing data for clean restore
rm -rf ${DATA_DIR}/${NODE_ID}/*
Expand All @@ -315,7 +315,7 @@ cp -r ${BACKUP_DIR}/snapshots ${DATA_DIR}/${NODE_ID}/
chown -R influxdb:influxdb ${DATA_DIR}/${NODE_ID}

# 5. Start InfluxDB
systemctl start influxdb3 || docker start influxdb3-core
systemctl start influxdb3-{{< product-key >}} || docker start influxdb3-{{< product-key >}}
```

Replace the following:
Expand Down
8 changes: 4 additions & 4 deletions content/shared/influxdb3-admin/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ curl -L https://dl.influxdata.com/influxdb/releases/influxdb3-{{< product-key >}
tar xvzf influxdb3-{{< product-key >}}.tar.gz

# 3. Stop the service
sudo systemctl stop influxdb3
sudo systemctl stop influxdb3-{{< product-key >}}

# 4. Install the new binary
sudo cp influxdb3 /usr/local/bin/

# 5. Start the service
sudo systemctl start influxdb3
sudo systemctl start influxdb3-{{< product-key >}}
```
{{% /tab-content %}}
{{% tab-content %}}
Expand Down Expand Up @@ -196,14 +196,14 @@ Follow these steps to upgrade each node in your deployment:

```bash
# 1. Stop the service
sudo systemctl stop influxdb3
sudo systemctl stop influxdb3-{{< product-key >}}

# 2. Install the new version
# Follow the installation instructions for your platform:
# https://docs.influxdata.com/influxdb3/enterprise/install/

# 3. Start the service
sudo systemctl start influxdb3
sudo systemctl start influxdb3-{{< product-key >}}

# 4. Verify the version
influxdb3 --version
Expand Down
Loading