diff --git a/docs/DISASTER_RECOVERY.md b/docs/DISASTER_RECOVERY.md new file mode 100644 index 00000000..027691cc --- /dev/null +++ b/docs/DISASTER_RECOVERY.md @@ -0,0 +1,18 @@ +# Disaster recovery guide + +This guide explains how to back up and restore a Base node in the event of data loss. + +## Backups + +- Regularly compress your data directory (`/data/reth`, `/data/geth`, etc.) and store it offsite. +- Back up your `.env` file and any JWT secrets. + +## Restore from snapshot + +1. Stop the node and remove the current data directory. +2. Extract your backup archive to the original data path. +3. Restart the node and verify it syncs from the restored state. + +## Snapshots + +For faster recovery, use provider snapshots when available. Check official Base docs for instructions.