|
5 | 5 | Creating a backup of the appliance will be done using SSH or the console.
|
6 | 6 |
|
7 | 7 | 1. Launch `appliance_console`
|
8 |
| - a. Select `Stop EVM Server Processes` to stop the server processes |
9 |
| - b. Select `Create Database Backup` and choose a backup location (/tmp/evm_db.backup is the default) |
10 |
| - c. Select `Quit` to return to the shell |
| 8 | + 1. Select `Stop EVM Server Processes` to stop the server processes |
| 9 | + 2. Select `Create Database Backup` and choose a backup location (/tmp/evm_db.backup is the default) |
| 10 | + 3. Select `Quit` to return to the shell |
11 | 11 | 2. For convenience, create a TGZ containing all files required to restore the database
|
12 | 12 | ```bash
|
13 | 13 | tar -czvf /root/backup.tgz /tmp/evm_db.backup /var/www/miq/vmdb/GUID /var/www/miq/vmdb/certs/v2_key
|
@@ -43,18 +43,17 @@ Restoring a backup of the appliance will be done using SSH or the console.
|
43 | 43 | tar -zxf /backup
|
44 | 44 | rm -f /backup # if desired to save space
|
45 | 45 | ```
|
46 |
| - |
47 | 46 | 3. Launch `appliance_console`
|
48 |
| - a. If this is a brand new appliance and the database has not yet been initialized, select `Configure Application`. If this is an existing database appliance, this step can be skipped. |
49 |
| - 1. When prompted to configure the database, select `Create Internal Database` |
50 |
| - 2. When prompted to configure messaging, select `Make No messaging changes` |
51 |
| - 3. Choose a database disk |
52 |
| - 4. Answer y or n to "Should this appliance run as a standalone database server?" |
53 |
| - 5. Enter a region number (0), this is not important and will be overwritten on restore |
54 |
| - 6. Set a database password |
55 |
| - 7. Wait for database initialization to complete. |
56 |
| - b. Select `Stop EVM Server Processes` |
57 |
| - c. Select `Restore Database From Backup` |
58 |
| - 1. Decide whether you want to delete the backup file in /tmp after restore. (Yes) |
59 |
| - d. Select `Start EVM Server Processes` |
| 47 | + 1. If this is a brand new appliance and the database has not yet been initialized, select `Configure Application`. If this is an existing database appliance, this step can be skipped. |
| 48 | + 1. When prompted to configure the database, select `Create Internal Database` |
| 49 | + 2. When prompted to configure messaging, select `Make No messaging changes` |
| 50 | + 3. Choose a database disk |
| 51 | + 4. Answer y or n to "Should this appliance run as a standalone database server?" |
| 52 | + 5. Enter a region number (0), this is not important and will be overwritten on restore |
| 53 | + 6. Set a database password |
| 54 | + 7. Wait for database initialization to complete. |
| 55 | + 2. Select `Stop EVM Server Processes` |
| 56 | + 3. Select `Restore Database From Backup` |
| 57 | + - Decide whether you want to delete the backup file in /tmp after restore. (Yes) |
| 58 | + 4. Select `Start EVM Server Processes` |
60 | 59 | 4. After a few minutes, you can log into the web UI and see all of the data contained in the backup.
|
0 commit comments