# Database Backups Directory

This directory stores temporary database backup files.

## Security
- Protected by .htaccess (no direct web access)
- Backup files are automatically deleted after download
- Only accessible through authenticated API endpoint

## Backup Types
- **Local Backup**: Uses mysqldump.exe for local MySQL database
- **Cloud Backup**: Uses PHP MySQLi for remote/cloud database

## File Naming Convention
backup_{dbname}_{source}_{timestamp}.sql

Example:
- backup_uzrs-inventorydb_local_2025-11-06_15-30-45.sql
- backup_uzrs-inventorydb_cloud_2025-11-06_15-30-45.sql

## Maintenance
Periodically clean up old backup files to save disk space.
