cschantz
9b7f3a1920
Fix installer confirmation to accept 'y' in addition to 'yes'
...
Changed confirmation check from exact 'yes' match to regex pattern that accepts:
- y, Y
- yes, Yes, YES
- Any case variation
This prevents user frustration when typing 'y' instead of full 'yes'.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-06 15:46:13 -05:00
cschantz
4aaa4b3f2b
Enhance Acronis installer with advanced/custom mode and better token handling
...
Added option 5 "Advanced/Custom installation" to installer with:
Interactive Option Builder:
- Unattended mode toggle (auto-accept prompts)
- Registration options:
* Register with token during install
* Skip registration (register later)
* Interactive (let installer prompt)
- Verbose logging flag
- Custom flags input for any additional options
(proxy, language, bandwidth throttling, etc.)
Improved Token Input:
- Better instructions for obtaining token from web console
- Automatic whitespace/linebreak removal for pasted tokens
- Works with copy-paste from web console
- Handles multi-line paste gracefully
Enhanced Service URL Selection:
- Shows common regions with examples:
* us5-cloud.acronis.com (US)
* eu2-cloud.acronis.com (Europe)
* ap1-cloud.acronis.com (Asia Pacific)
* ca1-cloud.acronis.com (Canada)
- Only prompts for URL when registration is enabled
Installation Modes Now Available:
1. Interactive installation - guided with prompts
2. Unattended installation - auto-accepts all
3. Install and register with token - one-step setup
4. Install without registration - defer registration
5. Advanced/Custom - build custom flag combination
Example Advanced Mode Usage:
- Select unattended: y
- Registration: option 1 (with token)
- Paste token: [automatically strips spaces]
- Verbose logging: y
- Custom flags: --proxy=http://proxy:8080
All flags are shown in summary before installation proceeds.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-05 21:39:57 -05:00
cschantz
8fbfc73991
Implement Acronis Cyber Protect agent management scripts
...
Created 11 comprehensive scripts for Acronis backup management:
Installation & Setup:
- acronis-install.sh: Download/install agent with multiple modes
* Interactive, unattended, with/without registration
* Supports token-based registration during install
* Auto-service startup and verification
- acronis-register.sh: Register agent with Acronis Cloud
* Validates service URL and token
* Shows current registration status
* Safe re-registration with confirmation
- acronis-configure.sh: Guidance for backup plan configuration
* Web console walkthrough
* Common backup plan examples
Backup Operations:
- acronis-manual-backup.sh: Manual backup creation guide
* Web console and CLI methods
* Ready for full CLI implementation
- acronis-status.sh: View backup status from logs
* Recent backup activity
* acrocmd integration ready
- acronis-list-backups.sh: List available backup archives
* acrocmd integration for archive listing
- acronis-restore.sh: Restore from backup guide
* Multiple restore methods explained
* Safety warnings and best practices
Management:
- acronis-agent-status.sh: Comprehensive service status
* All 4 services (aakore, mms, schedule, active-protection)
* Registration status, network ports, storage
* Quick actions: start/stop/restart/logs/version
- acronis-update.sh: Agent update management
* Auto and manual update methods
* Version checking
- acronis-logs.sh: Advanced log viewer
* View, tail, search logs
* Error filtering with color coding
* Log archival for old logs
- acronis-uninstall.sh: Safe agent removal
* Stops services, unregisters, removes packages
* Optional data retention
* Comprehensive cleanup
All scripts based on documented Acronis commands with proper error
handling, status validation, and user-friendly interfaces.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-05 21:30:19 -05:00