Backups
What to Back Up
Database backups
Most persistent data are stored in the PostgreSQL database. The database should be backed up often using standard PostgreSQL backup tools:Or for compressed backups:
Backup Best Practices
- Schedule automated database backups at regular intervals
- Store backups in a separate location from the primary server
- Test backup restoration procedures periodically
- Maintain multiple backup versions
Upgrading from a Previous Version
Run the upgrade process
Run the upgrade process before starting the new version:
The upgrade process may, in some instances, take a significant amount of time to run. The database generally remains available to users during this period.
Check the output
If no changes are needed, the process outputs:If changes were required, the process will show progress and completion messages.
Upgrade Notes
Can I upgrade from any version?
Can I upgrade from any version?
Yes, you can upgrade from any previous version of Metadb. The
upgrade command handles all necessary database migrations automatically.What happens during an upgrade?
What happens during an upgrade?
The upgrade process:
- Checks the current database schema version
- Applies any necessary schema migrations
- Updates internal metadata structures
- Verifies data integrity
What if the upgrade fails?
What if the upgrade fails?
If the upgrade process encounters an error:
- Do not start the server
- Check the error messages in the output
- Restore from your backup if necessary
- Contact Metadb support with the error details
