File Replication (sort of)

Share your awesome tips and tricks here.

Moderator: Lillian.W@AST

Post Reply
OneEye
Posts: 5
youtube meble na wymiar Warszawa
Joined: Thu Nov 03, 2022 10:21 am

File Replication (sort of)

Post by OneEye »

Hello All,

I have a laptop that I take to work remotely. The files on that machine mirror what currently exists on my NAS. What I would like to do is to set up some sort of routine so that if the files change on the NAs they are reflected on the machine once I connect to my office network, but if the files change on the machine they are updated on the NAS. Is there a feature that I dont know about that would allow something like this? I work at both places. The machine I use to work remotely and the machine I use at the office are separate machines. At the office I work purely off of the NAS, when remote, I do not have NAS access so the remote machine has the folders I need loaded on it. Is there a feature, an application, or a method to make the remote work machine either push changed data to the NAS or to pull changed data from the NAS?

Thanks,
OneEye
User avatar
Nazar78
Posts: 1984
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: File Replication (sort of)

Post by Nazar78 »

I would frankly script my own using inotifywait and rsync to suite my needs but you could try use the Syncthing app both on the NAS and work machine.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
marp
Posts: 17
Joined: Tue Jan 31, 2017 4:48 pm

Re: File Replication (sort of)

Post by marp »

Take a look on Syncthing or Resillio Sync
AS6404T user
Posts: 55
Joined: Fri Nov 08, 2019 11:30 pm

Re: File Replication (sort of)

Post by AS6404T user »

I also recommend Syncthing. I have been using it for several years and I am very happy with it. Almost instantaneous update to the most recent version of the file on all connected computers. Nice interface and a well maintained app.

I also have my NAS connected to Syncthing but that is kind of redundant. It works equally well without the NAS.
Post Reply

Return to “Tips & Tricks”