benoit-bremaud / safebase-simplified

Projet Safebase simplifié
MIT License
0 stars 0 forks source link

feature: Implement Database Backup and Automation #2

Closed benoit-bremaud closed 1 month ago

benoit-bremaud commented 1 month ago

Summary

Implement the functionality to back up MySQL databases within the SafeBase project and automate the process using a scheduling tool. This will ensure regular database backups and provide the ability to restore specific versions when needed.

Context

Data loss can have significant consequences for any application. Backing up the database at regular intervals is crucial to ensure data security and availability. Automating this process will remove the need for manual intervention and minimize the risk of human error.

Objectives

Acceptance Criteria

Tasks

Task 1: Create a route for manual database backup

Task 2: Implement automated backups using node-cron

Task 3: Update Docker configuration for backup persistence

Task 4: Testing and Validation

Resources

UML Diagrams References

Branch Name

feature/backup-automation