mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-19 05:10:05 +02:00
Enable automatic data backups to secure user information regularly
Implements automatic database backups every 12 hours using node-cron, retaining only the 10 most recent backups in server/backup-scheduler.ts. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/674ec742-23a2-4047-910f-36599184f036.jpg
This commit is contained in:
1 parent
546ba12e89
commit
a78d648c01
9 files changed
+594
-5
No files matched your search
@@ -166,4 +166,12 @@ Preferred communication style: Simple, everyday language.
|
||||
- ✅ Import feature allows full database restoration with data validation
|
||||
- ✅ Automatic ID remapping during import to handle database constraints
|
||||
- ✅ Security measures: passwords excluded from backups, admin account protected during restore
|
||||
- ✅ User-friendly interface with clear warnings for destructive operations
|
||||
- ✅ User-friendly interface with clear warnings for destructive operations
|
||||
|
||||
### Automatic Backup Scheduler (January 9, 2025)
|
||||
- ✅ Implemented automatic backup system with node-cron running every 12 hours (00:00 and 12:00)
|
||||
- ✅ Automatic cleanup maintaining only the 10 most recent backups to prevent disk space issues
|
||||
- ✅ Backup files stored in server/backups/ directory with timestamped filenames
|
||||
- ✅ Enhanced administration interface showing backup statistics and manual backup creation
|
||||
- ✅ Real-time backup status monitoring with automatic stats refresh every 30 seconds
|
||||
- ✅ Initial backup creation on server startup if no backups exist
|
||||
Reference in new issue
Block a user