Warren
26d4199203
Add Backup REST API endpoints (Phase 5-6)
REST API Implementation:
- 8 backup/snapshot endpoints added to server.rs
- BackupScheduler: add get_config()/set_config() methods
Endpoints:
- GET /api/v2/backup/stats - Scheduler status
- GET/POST /api/v2/backup/config - Config management
- POST /api/v2/backup/run - Manual backup trigger
- GET /api/v2/snapshots - List snapshots
- POST/DELETE /api/v2/snapshots/:name - Create/delete snapshot
- POST /api/v2/snapshots/:name/restore - Restore snapshot
- GET /api/v2/storage/stats - Storage metrics
Test Results:
- curl /api/v2/backup/stats ✅
- curl /api/v2/backup/config ✅
- curl /api/v2/storage/stats ✅
- curl /api/v2/snapshots ✅
Build: 495 tests pass
Server: Port 11438 running with new endpoints
2026-06-24 03:25:41 +08:00
..
2026-06-16 13:14:27 +08:00
2026-05-17 05:44:32 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-13 14:39:18 +08:00
2026-06-24 03:25:41 +08:00
2026-06-19 05:21:38 +08:00
2026-06-15 13:54:57 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-17 13:59:28 +08:00
2026-06-17 20:05:18 +08:00
2026-06-17 20:10:53 +08:00
2026-06-17 21:15:50 +08:00
2026-06-17 22:25:39 +08:00
2026-06-17 22:28:36 +08:00
2026-06-17 22:37:08 +08:00
2026-06-19 05:21:38 +08:00
2026-06-17 22:44:50 +08:00
2026-06-17 23:08:37 +08:00
2026-06-18 00:11:12 +08:00
2026-06-18 00:25:24 +08:00
2026-06-17 23:09:51 +08:00
2026-06-17 23:09:11 +08:00
2026-06-17 22:38:02 +08:00
2026-06-18 00:11:41 +08:00
2026-06-17 23:10:17 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 12:55:45 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-17 14:07:26 +08:00
2026-06-16 12:55:45 +08:00
2026-06-16 12:49:40 +08:00
2026-06-16 14:26:29 +08:00
2026-06-16 13:14:27 +08:00
2026-06-16 13:14:27 +08:00
2026-06-17 14:07:26 +08:00
2026-06-19 05:21:38 +08:00
2026-06-17 18:18:19 +08:00
2026-06-17 18:18:19 +08:00
2026-06-16 09:49:12 +08:00
2026-06-15 16:56:38 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00
2026-06-16 09:49:12 +08:00