Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unraid, linux desktop pc and linux laptop: syncing the linux laptop pc with the linux desktop pc.

Featured Replies

I have unraid 6.12.13 syncing with my linux (unbuntu) desktop pc on my home network using NFS shares and syncthing.

 

When I travel I want to first sync my laptop with my desktop pc before leaving home. I do not need to connect the laptop with my home network until I return home.

 

I have searched around and can find a possible use in Unassigned Devices but it is so complex I am not sure if it is OTT for my simple requirement.

 

I am thinking maybe on the laptop ignoring syncthing and simply use rsync as and when I need the two machines to be identical. However this introduces a manual syncing method when I think it may be possible to use syncthing even for such a simple use, to automate the sync as and when needed.

 

What is the forum thinking on this?

 

Are there any guides available to help me decide which way to choose?

Solved by bmartino1

  • Community Expert
  • Solution

rsync with unraid user plug scripting may be your best bet. you may also want to look into tailscale / twingate as a vpn provider so they can all securly talk to each other as long as there is a data connection.

so if I understand you:
Unraid and desktop(ubuntu) have a sync and share where data is synced between them...

you want a similar sync and access or backup copy on the Laptop.

?Laptop running ubuntu as well?

in terms of guides or other sorry i'm not aware of any. but will gladly help where i'm able.
ATM Unraid has partnered with Tailscale and it is failry easy to setup as a vpn wihtout any portforwaind mess as tailscale is the brokerage server.

ATM I'm using twingate. (My setup has 2 client devices backing up photo medai data) via photsynce over the twingate VPN (simlar to tailscale, as tailscale did work but twingate was easeier and a bit more friendly...)

I can help you come up with secure share, rsynce, copy scripts but would need pathing...

example unrad nfs share is /mnt/user/???what share name???
desktop has what path you want to sync... etc...
 

  • Community Expert

 



you can use docker copose and setup syncthing across mutiple systems...
I tired and wan't a fan and ened up doing other sftp/rsync stuff to tranfer data.
woudl need more info not enoth to assist.. like, is the lapto widnows ? mac? chrome book???

https://forum.syncthing.net/t/synctrayzor-windows-host-for-syncthing-installer-auto-start-built-in-browser-tray-icon-folder-watcher-and-more/2011

  • Author

Thank you @bmartino1 for your offer but I only work inside the home network.

 

I have just finished syncing the laptop to the nas using syncthing. I had one conflict with a jpg so far but its late here so will look at that tomorrow. I read somewhere there is  'conflict' help, instructions, docker, plugin or something available.

 

I sync docs, video, pics and desktop only, for when we travel. ( Madeira end of the month) Its handy to sort trips and take data with you. I never use the laptop apart from that.

 

All my machines are dual boot windows/xubuntu and I am syncing only xubuntu. Windows is only used where necessary for games.

 

I like your use of 'portforwaind'. I used that when I first started into syncing using Nextcloud. Dropped Nextcloud in a few days when I found they had not fixed a serious error for 5 years. I am happy with syncthing.

Edited by makem
typo

  • Author

In my simple case I would like to resolve conflicts simply by making my desktop machine the 'master' and the slave always defaults to the master in a conflict. I am not sure if that could be arranged.

 

Maybe in this statement there is my solution, "If the modification times are equal, the file originating from the device which has the larger value of the first 63 bits for his device ID will be marked as the conflicting file." Needs looking into as a solution for me.

Edited by makem

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.