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

Sync data with online ubuntu server and Raspberry pi #1215

Open
kidNeo opened this issue May 19, 2021 · 3 comments
Open

Sync data with online ubuntu server and Raspberry pi #1215

kidNeo opened this issue May 19, 2021 · 3 comments
Labels
help-requested indicates that an issue is seeking for help during setup, usage, etc. stalebot-enabled The PR/issue is marked to go stale over time

Comments

@kidNeo
Copy link

kidNeo commented May 19, 2021

Hi guys im newbie and i do not know if it can be done or not but it worth to ask.

I installed partkeepr on online ubuntu server , but i need another version (same database and .. ) on my raspberry pi for local use.

but i need to know how to sync data between ubuntu server (Online) with raspberry pi (Local)

@kidNeo kidNeo added help-requested indicates that an issue is seeking for help during setup, usage, etc. needs-triage incoming, please sort labels May 19, 2021
@Gasman2014
Copy link

Gasman2014 commented May 19, 2021 via email

@christianlupus christianlupus added stalebot-enabled The PR/issue is marked to go stale over time and removed needs-triage incoming, please sort labels Jun 2, 2021
@christianlupus
Copy link
Collaborator

I do not get the point here as well. Why do you need the local mirror, @jaheshyafte?

If it is a speed issue, you might think of a caching proxy between you and the server.

Apart from that it highly depends on the setup of the server (what database, do you have root rights, ...?). You could (but this is not trivial!) created a shared file system (like e.g. glusterfs) for the file storage of partkeepr and a replicated database (see here). But as I already wrote, this is no trivial task to achieve.

@ambiamber
Copy link

One reason for having a mirror is fault-tolerance. If one system goes down the other can still function.
Mariadb supports replication
The data can be replicated using Syncthing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help-requested indicates that an issue is seeking for help during setup, usage, etc. stalebot-enabled The PR/issue is marked to go stale over time
Projects
None yet
Development

No branches or pull requests

4 participants