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:
michaelschal committed 2025-07-09 19:29:09 +00:00
1 parent 546ba12e89
commit a78d648c01
9 files changed
+594 -5

No files matched your search

+2
View File
@@ -44,6 +44,7 @@
"@tanstack/react-query": "^5.60.5",
"@types/bcryptjs": "^2.4.6",
"@types/memoizee": "^0.4.12",
"@types/node-cron": "^3.0.11",
"bcryptjs": "^3.0.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
@@ -62,6 +63,7 @@
"memorystore": "^1.6.7",
"nanoid": "^5.1.5",
"next-themes": "^0.4.6",
"node-cron": "^4.2.0",
"openid-client": "^6.6.2",
"passport": "^0.7.0",
"passport-local": "^1.0.0",