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

Centralized and offline mirror #10

Open
Jab2870 opened this issue Oct 5, 2020 · 1 comment
Open

Centralized and offline mirror #10

Jab2870 opened this issue Oct 5, 2020 · 1 comment

Comments

@Jab2870
Copy link

Jab2870 commented Oct 5, 2020

Hi,

I really like this so thank you for putting together the guide and scripts for setting it up.

I have a server and a desktop that are always connected to the internet. It makes a lot of sense for these to communicate with a centralized server. However, I also use a laptop that isn't always connected. Would it be possible to set this up so that when my laptop is offline, it stores commands locally and pushes them to a centralized server when it re-connects? Although not as important, it would also be helpful if a copy of the database could be stored offline on my laptop, synchronizing when online.

Thanks in advance for any help

@slim-bean
Copy link
Owner

Hi @Jab2870 glad you like it!

I've run into similar situations myself, and out of the box Loki isn't going to have an off the shelf solution for this and to be honest I'm not sure the best way to handle this just yet. I will have to put some thought into it.

At a miniumum it would be nice to fallback on the builtin history if you can't reach a remote Loki instance just so you have some shell history instead of none, this might be my thoughts for a first step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants