The comparison was failing with "integer expression expected" error
because AVAILABLE_SPACE contained whitespace characters.
Changes:
- Add tr -d '[:space:]' to clean AVAILABLE_SPACE value
- Add validation for empty REQUIRED_SPACE (fallback to 1GB)
- Add validation for empty AVAILABLE_SPACE (exit with error)
- Add 2>/dev/null on comparison to prevent error messages
- Improve error handling for edge cases
Fixes: scripts/backup.sh: ligne 106 : [: 1712798932 0 : nombre entier attendu
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>