Feature Request: Sync Server Content
Summary
Requesting the ability for the IIAB server to synchronize its content with other IIAB servers or a central repository. This feature would enable streamlined updates, backups, and distribution of content across multiple servers.
The model is Admin Console's Manage Content, except that servers are accessed over a network rather than as USB storage.
Details
- For the first phase only ZIMs and Modules will be supported.
- Modules that are not in the global catalog must have a
.iiab-meta file in the top level folder with information such as description, size, name of menu definition, and other data supplied by the catalog.
- Servers being synced must be on the same subnet.
- A TailScale network can be used.
- The Admin Console Gui will allow discovery of servers and selection of content.
- rsync will be used for Modules to allow only changes to be copied.
- For the first phase content synchronization will be on demand and not automated.
- For the first phase source and destination directory structure will be the same.
Security
Content can only be pulled; servers do not push content to others. This restriction helps prevent unauthorized content distribution and protects the integrity of each server's data.
Discovery
Enable the IIAB server to discover other IIAB servers on the network using Avahi (mDNS/zeroconf) or nmap for network scanning. This would allow automated identification of available servers for synchronization, reducing manual configuration.
- Implement Avahi support to broadcast and locate IIAB servers on local networks.
- Optionally use nmap to scan network ranges for active IIAB servers.
- Display discovered servers in the management UI for easy selection and syncing.
Future Enhancements
- Allow different top level directory for destination of synchronization to handle backups to central server.
- Add mechanism for Admin of a remote server to authorize a push from a central server.
- Support content with a database component.
Comments
Please comment on this submission.
If you need further details or want to discuss implementation approaches, let me know!
Feature Request: Sync Server Content
Summary
Requesting the ability for the IIAB server to synchronize its content with other IIAB servers or a central repository. This feature would enable streamlined updates, backups, and distribution of content across multiple servers.
The model is Admin Console's Manage Content, except that servers are accessed over a network rather than as USB storage.
Details
.iiab-metafile in the top level folder with information such as description, size, name of menu definition, and other data supplied by the catalog.Security
Content can only be pulled; servers do not push content to others. This restriction helps prevent unauthorized content distribution and protects the integrity of each server's data.
Discovery
Enable the IIAB server to discover other IIAB servers on the network using Avahi (mDNS/zeroconf) or nmap for network scanning. This would allow automated identification of available servers for synchronization, reducing manual configuration.
Future Enhancements
Comments
Please comment on this submission.
If you need further details or want to discuss implementation approaches, let me know!