Backup & Maintenance¶
Regular backups and maintenance are essential for a production MedUX installation.
Warning
MedUX is in pre-alpha. Backup and maintenance procedures will be documented in detail once the system is production-ready.
Database Backup¶
For PostgreSQL, use pg_dump to create regular backups:
pg_dump -U medux medux > medux_backup_$(date +%Y%m%d).sql
Automate this with a cron job or systemd timer.
Media Files¶
Back up the MEDIA_ROOT directory, which contains uploaded files.
Updates¶
To update MedUX:
uv add medux --upgrade
medux migrate
medux syncplugins
medux collectstatic
Warning
While MedUX is pre-alpha, updates may include breaking changes. Always back up your database before updating.