Clarify local vs cloud storage in agent status

Changed "Storage Status" to "Local Storage Status" to clearly indicate
this shows agent data (130M cache/logs/config), not backup storage.

Added note directing users to Acronis web console for actual backup
storage usage (19GB cloud storage shown there).

Prevents confusion between:
- Local agent data: 130M (what script shows)
- Cloud backup storage: 19GB (shown in web interface)
This commit is contained in:
cschantz
2025-11-06 16:52:11 -05:00
parent 716901a78d
commit 3fee8a65aa
+7 -4
View File
@@ -197,22 +197,25 @@ fi
echo ""
# Check disk space for backups
echo -e "${BOLD}Storage Status:${NC}"
echo -e "${BOLD}Local Storage Status:${NC}"
if [ -d "/var/lib/Acronis" ]; then
backup_dir_size=$(du -sh /var/lib/Acronis 2>/dev/null | awk '{print $1}')
echo -e " Acronis data: ${backup_dir_size}"
echo -e " Agent data: ${backup_dir_size} (local cache/logs/config)"
# Check free space
# Check free space on partition
free_space=$(df -h /var/lib/Acronis | tail -1 | awk '{print $4}')
use_percent=$(df -h /var/lib/Acronis | tail -1 | awk '{print $5}' | tr -d '%')
echo -e " Free space: ${free_space}"
echo -e " Free space: ${free_space} (on root partition)"
if [ -n "$use_percent" ] && [ "$use_percent" -gt 90 ] 2>/dev/null; then
echo -e " ${RED}⚠ Warning: Disk usage at ${use_percent}%${NC}"
fi
fi
echo ""
echo -e "${DIM}Note: Backup storage usage is shown in Acronis web console${NC}"
echo ""
# Quick Actions