Title here
Summary here
Manage configuration backups
Manage configuration backups for AI coding assistant platforms.
Before aix modifies platform configurations, it automatically creates backups. This command group allows you to list, restore, create, and prune backups.
Backups are stored in ~/.config/aix/backups/ organized by platform.
aix backup [flags] # List all backups
aix backup list
# List backups for a specific platform
aix backup list --platform claude
# Restore from the most recent backup
aix backup restore --platform claude
# Restore from a specific backup
aix backup restore 20260123T100712 --platform claude
# Create a manual backup
aix backup create --platform claude
# Remove old backups, keeping the 3 most recent
aix backup prune --keep 3
See Also:
aix backup list - List available backups
aix backup restore - Restore from a backup
aix backup create - Manually create a backup
aix backup prune - Remove old backups -h, --help help for backup --log-file string write logs to file in JSON format
--log-format string log format: text, json (default "text")
-p, --platform strings target platform(s): claude, opencode (default: all detected)
-q, --quiet suppress non-error output
-v, --verbose count increase verbosity level (e.g., -v, -vv)