- Added checks for safe filename to prevent directory traversal attacks. - Updated file type validation to use the sanitized filename. - Implemented path resolution to ensure uploaded files are within the backup directory.
- Implemented download, restore, upload and delete functionalities for backups. - Added corresponding request and response schemas for backup operations. - Enhanced security checks to prevent unauthorized access to backup files.