Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Feature request) Server to Server Sync #2654

Closed
cwilliams5 opened this issue Feb 14, 2022 · 2 comments
Closed

(Feature request) Server to Server Sync #2654

cwilliams5 opened this issue Feb 14, 2022 · 2 comments

Comments

@cwilliams5
Copy link
Sponsor

Describe feature

When setting up the sync server, would be awesome to be able to put in the IP/domain of another (or comma seperated for multiple other) Trilium server(s).

Having two(+) in synchronization with each other would:

  • Allow use of DNS/reverse proxy to load balance between them and/or make them highly available, so if one server fails it doesn't matter.
  • As well as high availability, the duplicate server serves as a data backup in case of docker/hardware loss
  • Flexibility in network setups

Additional Information

You could have interesting configurations like a Client that can see only Server A on one network 1, and only server B on netwok 2. A and B can always talk, but client can only talk to A or B at a time. Use per network DNS to direct the client, and let the servers sync.

I use a private wireguard mesh network, with a geo-diverse primary and secondary physical server(s) location, overlaid over the internet, and a reverse proxy to add SSL and 2-factor auth to Trilium and lock it down. The flexibility/high availability of having a server cluster would be very interesting.

@Nriver
Copy link
Contributor

Nriver commented Feb 14, 2022

It's an overkill for a personal use app.

@meichthys
Copy link
Collaborator

Trilium has entered maintenance mode. Future enhancements will be addressed in TrilumNext: TriliumNext#144

@meichthys meichthys closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants