Re: Keeping desktop PC and laptop in sync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, 2022-10-31 at 16:24 +0100, Óscar García Amor wrote:
> El lun, 31 oct 2022 a las 16:06, Joel (<j-archlinux@xxxxxxxxxxxxxxx>)
> escribió:
> 
> > 
> > as we have a [..] syncs.
> > 
> > 
> > Any thoughts / recommendations / advices ?
> 
> Synthing. Don't complicate yourself. It is not necessary to have the
> dry-run because Syncthing will keep the repositories (directories)
> that you tell it to keep completely synchronized in real time, you do
> not have to be launching the command every time you want to
> synchronize.
> 
> --
> Óscar García Amor | ogarcia at moire.org | http://ogarcia.me

I've been using rsync, unison and nowadays I am using syncthing. My
latest setup, which I am super duper happy with: basically I have 3
devices running syncthing: my workstation, my laptop and a small
raspberry. The main issue with unison was only: when shall I run it?
Just before I leave, I am usually stressed. It's when I am on my way
that I suddenly miss some of my latest files. That's what I have the
raspberry for. When I leave, I turn off the workstation, which at that
time will be in sync with the raspberry. When I arrive at the hotel, my
laptop will sync with the raspberry. No missing files anymore.
Now: the rsync comes in play. On the raspberry I have multiple hard
disks connected. Once a day at night, I perform an incremental backup
using rsync and hard links. In case there is ever some sync issue, I
can go into the backup and pick the file from yesterday or any day
before.
For syncthing: do not sync the entire home folder; just sync each
folder individually. It turned out to be of an advantage: I nowadays
sync a few of the folders with my phone. And my setup grew with time.
There are more devices and the sync structure got more complex. When
you start to love syncthing as much as I do, you might add some more
devices.
Unison worked perfect for my very large home folder (1.6 TB), you
should not worry about that part, as long as the number of files in
folders with changes is not too high. I.e., folders with 1k files are
fine as long as they are stable. A tiny change in such folder causes
heavy work.

regards,

ente




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux