Create a backup
A backup includes the database (all resources, courses, users, progress, certificates) and the machine keys (so encrypted files and logins keep working). Store the downloaded file somewhere safe and off this box.
Backups on this box
| File | Size | Created (UTC) | |
|---|---|---|---|
| Loading⦠| |||
Restore
Restoring replaces the live database, so it must be done with the server stopped (a running DB can't be safely overwritten):
- Stop the server.
- Run
deploy/restore.bat <backup.zip>(Windows) ordeploy/restore.sh <backup.zip>(Linux). - Start the server again.
β οΈ The restore script overwrites
library.db and the key files with the ones in the backup. It makes a .pre-restore copy first so you can roll back.