Tutorial
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!)