Skip to content

Commit 26a9e4c

Browse files
committed
Set the hostname first
Hack for kafka which apparently needs it in /etc/hosts also
1 parent b766f7d commit 26a9e4c

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

appliances/backup_and_restore.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,19 @@ Before adding the cron job it would be best practice to mount an external storag
3535
# Restore
3636
Restoring a backup of the appliance will be done using SSH or the console.
3737

38-
1. Download a backup TGZ and place it in `/`
39-
2. On the command line:
38+
1. Set the hostname on the new appliance. On the command line:
39+
```bash
40+
hostnamectl hostname your-new-hostname.example.com
41+
echo "your.ip.address your-new-hostname.example.com your-new-hostname" >> /etc/hosts
42+
```
43+
2. Download a backup TGZ and place it in `/`
44+
3. On the command line:
4045
```bash
4146
cd /
4247
tar -zxf /backup.tgz
4348
rm -f /backup.tgz # if desired to save space
4449
```
45-
3. Launch `appliance_console`
50+
4. Launch `appliance_console`
4651
1. Since the database has not yet been initialized, select `Configure Application`.
4752
1. When prompted to configure the database, select `Create Internal Database`
4853
2. When prompted to configure messaging, either connect to an external messaging system or configure this appliance as a messaging server
@@ -55,4 +60,4 @@ Restoring a backup of the appliance will be done using SSH or the console.
5560
3. Select `Restore Database From Backup`
5661
- Decide whether you want to delete the backup file in /tmp after restore. (Yes)
5762
4. Select `Start EVM Server Processes`
58-
4. After a few minutes, you can log into the web UI and see all of the data contained in the backup.
63+
5. After a few minutes, you can log into the web UI and see all of the data contained in the backup.

0 commit comments

Comments
 (0)