Backup System - Comprehensive backup for personal AI infrastructure. Backup files, docs, important thoughts, AI system, profile, and memory. Use when you need to backup your Obsidian vault, AI configuration, personal profile, or memory.
Comprehensive backup solution for your Personal AI Infrastructure (PAI). Backup all important components including your Obsidian vault, AI system, personal profile, and memory.
# Full backup of all components
python3 _scripts/backup_system.py
# List available backups
python3 _scripts/backup_system.py --list
--dir PATH: Directory to store backups (default: ~/pai_backups)--components [files docs thoughts ai-system profile memory]: Specific components to backup (default: all)--list: List available backups--save: Save backup report to vault (Sources/Backup Report - YYYY-MM-DD.md)# Full backup with report saved
python3 _scripts/backup_system.py --save
# Backup specific components
python3 _scripts/backup_system.py --components files memory
# Use custom backup directory
python3 _scripts/backup_system.py --dir ~/custom_backups
# List all backups
python3 _scripts/backup_system.py --list
# List backups from custom directory
python3 _scripts/backup_system.py --dir ~/custom_backups --list
Backups are created as timestamped tar.gz archives:
~/pai_backups/
├── pai_backup_20260218_234200.tar.gz
├── pai_backup_20260217_183000.tar.gz
└── ...
Each backup contains:
vault/ - Complete Obsidian vaultdocs/ - Important documentsthoughts/ - Key notes and insightsai_system/ - AI scripts and configurationprofile/ - Personal profile informationmemory/ - LLM context and memoryTo restore from a backup:
# Create temporary directory
mkdir -p /tmp/pai_restore
cd /tmp/pai_restore
# Extract backup
tar -xzf ~/pai_backups/pai_backup_20260218_234200.tar.gz
# Copy components back to vault as needed
Sources/Backup Report - YYYY-MM-DD.md