Prerequisites
Before restoring configuration, make sure you have:
- SSH access to your VPS
- Current backup file
⚠️ Restoring configuration will overwrite current settings. Backup current configuration first!
Restore HestiaCP Configuration Files
ssh hxroot@YOUR_SERVER_IP -p 22
Extract backup:
tar -xzf /backup/hestia-config_20260429.tar.gz -C /tmp/
Restore configuration:
cp /tmp/hestia-config/hestia.conf /usr/local/hestia/conf/hestia.conf
cp -r /tmp/hestia-config/data/* /usr/local/hestia/data/
Restore SSL certificates:
cp -r /tmp/hestia-config/ssl/* /usr/local/hestia/ssl/
Restore HestiaCP Database
mysql hestia < /backup/hestia-db_20260429.sql
Restart HestiaCP After Restore
systemctl restart hestia
systemctl restart hestia-nginx
Verify Restoration
Log in to HestiaCP and verify:
- User accounts appear correctly
- Domains are listed
- Packages and templates available
- Settings preserved
✅ HestiaCP configuration has been restored.