Closed dotun closed 4 years ago
Task linked: CU-6uuv3m Backend - Investigate database solution
What is the frequency of the backup? and I don't think saving the backup in the application is a good idea, since the application will be replaced with a new one and we will be left with no backup of the database.
What is the frequency of the backup? and I don't think saving the backup in the application is a good idea, since the application will be replaced with a new one and we will be left with no backup of the database.
The backup is scheduled to run every 2 minutes, and the cleanup is scheduled to run every 3 minutes. The cleanup will delete stale backup files, keeping only the 5 most recent ones. Of course, these values are configurable in the application.properties
file.
I agree that there could be a better location for backups. Again, the location is configurable in the application.properties
backup.location
property. I'll leave that to you, @git-ari , as you are managing DevOps.
[#6uuv3m]