Backup and Federation
QTO ERP includes backend services for backups and federation.
Backup management
Section titled “Backup management”Backup Management supports:
- Backup configurations
- Run-now actions
- Comprehensive backup creation
- Backup list
- Backup detail
- Backup status
- Backup download
- Database restore
- Storage connection testing
- Backup logs
Backup records track name, storage path, size, status, error message, whether database and media are included, timing, progress percentage, progress message, Celery task ID, creator, and metadata.
Backup statuses
Section titled “Backup statuses”Backup records use the shared backup status choices from the system choices service. The model behavior includes pending, in-progress, completed, and failed-style handling through status and progress fields.
Backup configuration
Section titled “Backup configuration”Backup configurations support:
- Name
- Active state
- Backup time
- Timezone
- Backup type
- Storage type
- Daily retention count
- Monthly retention count
Backup storage uses the configured storage router behavior.
Federation
Section titled “Federation”Federation supports file sharing between ERP instances.
Implemented federation records include:
- Federated servers
- Federated users
- Federated shares
- Federated access logs
Federation endpoints include server/user/share resources, WebFinger discovery, share create, accept, decline, revoke, notifications, file access, download, metadata, and health check.
Federated share statuses
Section titled “Federated share statuses”| Status | Meaning |
|---|---|
| Pending | Share is waiting for a response. |
| Accepted | Share was accepted. |
| Declined | Share was declined. |
| Revoked | Share was revoked. |
| Expired | Share is no longer active because it expired. |
Federated share access
Section titled “Federated share access”Shares can be outgoing or incoming, and can support read, write, or bidirectional sync behavior. Share permissions include read, write, share, and delete flags.