Tutorial
January 16, 2026
4 min read
Data Protection: Your OpenClaw memory contains valuable conversations and learned preferences. Regular backups ensure you never lose this data.
What Needs Backing Up?
OpenClaw stores several types of data:
- Conversation history: All your chat sessions
- Long-term memory: Facts and preferences OpenClaw has learned
- Configuration: Your settings and API keys
- Custom skills: Any skills you've created
- Session state: Active conversation context
Manual Backup
Create a Backup
openclaw backup create --output="/path/to/backup"List Backups
openclaw backup listAutomated Backups
Schedule Daily Backups
openclaw cron create "backup:daily" \
--schedule "0 2 * * *" \
--command "backup create --output=/backups/openclaw-$(date +%Y%m%d)"Restoring from Backup
openclaw backup restore /path/to/backupCloud Backup Options
For additional safety, consider:
- S3/S3-compatible: Store backups in cloud storage
- rsync: Sync to a remote server
- Git: Version control your configuration (exclude secrets!)
Protect Your Data
Security GuideSource trail, checked September 11, 2026. Official documentation docs and gateway/security docs are the current reference points. Check your installed version before running a command from this archive page.
Reference Trail
Sources and further reading
- Official documentation docsdocs.openclaw.ai
- gateway/security docsdocs.openclaw.ai