# Backup Control Panel Server
To ensure complete disaster recovery for the control panel server, choose one of the following methods.
# Option 1: System Snapshot
If supported by your infrastructure provider, take a full image snapshot of the control panel server. This provides the fastest and most reliable point-in-time restore path.
# Option 2: Manual File & Database Backup
If server snapshots are unavailable, you can manually back up the important data like this:
As root, on your control panel server:
sudo -u orchd pg_dump -O -d orchd > /var/orchd/orchd.sql
sudo -u orchd pg_dump -O -d authd > /var/orchd/authd.sql
Copy the 2 resulting files to external storage.
Also copy the follolwing files to your external storage:
- /etc/ssl
- /var/local/enhance/rca.pw
- /var/local/enhance/orchd
- /var/local/enhance/orchd/cloudflare.key
- /var/www/control-panel/ui/assets