Manager Restore
Steps
- Transfer backup archive and restore script.
-
Prepare for restore.
# Make restore script executable chmod +x /root/restore_manager.sh -
Run restore script.
# Run restore (as root) ./restore_manager.sh /home/admin/amdp_mgr_backup_20251209_100000.tar.gz -
Follow interactive prompts.
The script will:
- Extract and validate the backup archive.
- Display the backup manifest.
- Check if TTS configuration and
ht_tokenexist. - Check database existence and status.
- If database is not empty, prompt for action:
WARNING: Database 'triage-www' is not empty (contains XX tables) Choose an option: 1) Empty the database and continue with restore 2) Cancel restore Enter your choice (1/2):- Choose 1 to empty the database.
- If you choose 1, you'll need to type
DELETE ALLto confirm
Expected Output:
[2025-12-09 14:00:00] =================================================== [2025-12-09 14:00:00] Starting AMDP On-Prem Manager Restore Process [2025-12-09 14:00:00] =================================================== [2025-12-09 14:00:00] Backup archive: /home/admin/amdp_mgr_backup_20251209_100000.tar.gz [2025-12-09 14:00:00] Target OS: Ubuntu 24.04 ... [2025-12-09 14:35:00] Restore completed successfully! [2025-12-09 14:35:00] =================================================== [2025-12-09 14:35:00] Log file: /root/amdp_mgr_restore_20251209_140000.log [2025-12-09 14:35:00] [2025-12-09 14:35:00] Next steps: [2025-12-09 14:35:00] 1. Reboot the system to ensure all services start cleanly [2025-12-09 14:35:00] 2. Test AMDP functionality - Reboot manager.
- Test AMDP functionality after connecting to an engine.