Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #220424 > unrolled thread

how to keep 2 PCs partially in sync

Started byPatrick Scribus <pythonic.tuchs@gmx.net>
First post2020-03-24 22:10 +0100
Last post2020-03-25 18:50 +0100
Articles 13 on this page of 33 — 17 participants

Back to article view | Back to linux.debian.user


Contents

  how to keep 2 PCs partially in sync Patrick Scribus <pythonic.tuchs@gmx.net> - 2020-03-24 22:10 +0100
    Re: how to keep 2 PCs partially in sync Brad Rogers <brad@fineby.me.uk> - 2020-03-24 22:40 +0100
    Re: how to keep 2 PCs partially in sync Brian Sammon <debian-user@brisammon.fastmail.fm> - 2020-03-24 22:50 +0100
    Re: how to keep 2 PCs partially in sync Andrei POPESCU <andreimpopescu@gmail.com> - 2020-03-24 23:20 +0100
      Re: how to keep 2 PCs partially in sync Peter Ehlert <peter@sdi-baja.com> - 2020-03-25 01:00 +0100
    Re: how to keep 2 PCs partially in sync deloptes <deloptes@gmail.com> - 2020-03-25 00:00 +0100
      Re: how to keep 2 PCs partially in sync Joe <joe@jretrading.com> - 2020-03-25 10:30 +0100
        Re: how to keep 2 PCs partially in sync Dan Purgert <dan@djph.net> - 2020-03-25 11:50 +0100
          Re: how to keep 2 PCs partially in sync deloptes <deloptes@gmail.com> - 2020-03-25 12:10 +0100
    Re: how to keep 2 PCs partially in sync David Christensen <dpchrist@holgerdanske.com> - 2020-03-25 00:10 +0100
    Re: how to keep 2 PCs partially in sync "der.hans" <deb-user@LuftHans.com> - 2020-03-25 00:20 +0100
    Re: how to keep 2 PCs partially in sync Mark Allums <mark@allums.email> - 2020-03-25 01:10 +0100
      Re: how to keep 2 PCs partially in sync Charles Curley <charlescurley@charlescurley.com> - 2020-03-25 06:40 +0100
        Re: how to keep 2 PCs partially in sync Anastasios Lisgaras <tasosnumberten@yahoo.gr> - 2020-03-25 09:00 +0100
          Re: how to keep 2 PCs partially in sync Andrei POPESCU <andreimpopescu@gmail.com> - 2020-03-25 10:10 +0100
            Re: how to keep 2 PCs partially in sync Charles Curley <charlescurley@charlescurley.com> - 2020-03-25 15:50 +0100
            Re: how to keep 2 PCs partially in sync Anastasios Lisgaras <tasosnumberten@yahoo.gr> - 2020-04-04 14:10 +0200
              Re: how to keep 2 PCs partially in sync Curt <curty@free.fr> - 2020-04-04 15:20 +0200
                Re: how to keep 2 PCs partially in sync <tomas@tuxteam.de> - 2020-04-04 17:00 +0200
                  Re: how to keep 2 PCs partially in sync Leslie Rhorer <lesrhorer@att.net> - 2020-04-04 18:50 +0200
                  Re: how to keep 2 PCs partially in sync Anastasios Lisgaras <tasosnumberten@yahoo.gr> - 2020-04-05 14:50 +0200
                    Re: how to keep 2 PCs partially in sync Peter Ehlert <peter@sdi-baja.com> - 2020-04-05 16:10 +0200
                      Re: how to keep 2 PCs partially in sync Anastasios Lisgaras <tasosnumberten@yahoo.gr> - 2020-04-05 22:20 +0200
                        Re: how to keep 2 PCs partially in sync Peter Ehlert <peter@sdi-baja.com> - 2020-04-06 21:10 +0200
                          Re: how to keep 2 PCs partially in sync Anastasios Lisgaras <tasosnumberten@yahoo.gr> - 2020-04-07 19:00 +0200
                            Re: how to keep 2 PCs partially in sync Peter Ehlert <peter@sdi-baja.com> - 2020-04-07 22:40 +0200
                              Re: how to keep 2 PCs partially in sync Charles Curley <charlescurley@charlescurley.com> - 2020-04-08 04:20 +0200
                                Re: how to keep 2 PCs partially in sync Curt <curty@free.fr> - 2020-04-08 14:30 +0200
                                Re: how to keep 2 PCs partially in sync Peter Ehlert <peter@sdi-baja.com> - 2020-04-08 17:30 +0200
              Re: how to keep 2 PCs partially in sync Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-04 18:00 +0200
              Re: how to keep 2 PCs partially in sync Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-04 18:10 +0200
              Re: how to keep 2 PCs partially in sync Linux-Fan <Ma_Sys.ma@web.de> - 2020-04-04 20:50 +0200
    Re: how to keep 2 PCs partially in sync Linux-Fan <Ma_Sys.ma@web.de> - 2020-03-25 18:50 +0100

Page 2 of 2 — ← Prev page 1 [2]


#220916

FromAnastasios Lisgaras <tasosnumberten@yahoo.gr>
Date2020-04-05 14:50 +0200
Message-ID<zScSS-5SR-19@gated-at.bofh.it>
In reply to#220877
On 4/4/20 5:56 PM, tomas@tuxteam.de wrote:
> To add one data point for that: the most cases (by far) I've needed a
> backup is when I have deleted stuff by mistake. Close second is some
> buggy software having deleted or mangled files I've needed. Last [1]
> come actual physical damage to storage media.
> 
> Over-eager synchronization of backup won't help in the two first cases.
> 
> Cheers
> [1] In between would perhaps be malware mangling the data: my platform
>     has never done that to me, but on other platforms it seems to
>     happen regularly.
> 
> -- tomás
> 

I will agree. And from my point of view, it is a completely different 
function to synchronize data between devices (computers) and a different 
function of backups.



On 4/4/20 7:02 PM, Andrei POPESCU wrote:
> It does have a web interface for management (running by default only on
> 127.0.0.1:8384), if this is what you meant.
> 
> It is not possible to download / upload files via the web interface.

I know it has a WEB UI - but it's mainly just to manage synchronized 
devices.

So for someone who wants to have a *serious* synchronization of their 
files on different computers, the right choice is *Syncthing* and not to 
use the synchronization that Nextcloud can offer ?



On 4/4/20 9:45 PM, Linux-Fan wrote:
> As far as I can tell, for this situation, Nextcloud would be able to handle
> all of the needs. You could run it on either your local Raspberry Pi (which
> might become overloaded depending on how often you chagen your files) or your
> remote server. The server might be more stable and easier to access through
> a public link thus I would conclude that installing Nextcloud on the server
> would be worth trying.
> 
> HTH
> Linux-Fan 

This is exactly what I believe in my own case!
But because I haven't used the *Syncthing* I wanted to ask your opinion 
as well. I don't know if the *Syncthing* is more "serious", safer or 
suggest it for some *specific* cases.
I already use my own *Nextcloud* for that and I don't have any problem.
In addition to *syncing my files to different computers*, whenever I 
want *I can send files to third parties* very easily and securely.


Thank you for your opinions and suggestions.
In which case would you suggest Syncthing and *not* Nextcloud ?

-- 
Kind regards,
Tasos

[toc] | [prev] | [next] | [standalone]


#220926

FromPeter Ehlert <peter@sdi-baja.com>
Date2020-04-05 16:10 +0200
Message-ID<zSe8i-6SW-5@gated-at.bofh.it>
In reply to#220916

[Multipart message — attachments visible in raw view] — view raw

On 4/5/20 5:43 AM, Anastasios Lisgaras wrote:
> On 4/4/20 5:56 PM, tomas@tuxteam.de wrote:
>> To add one data point for that: the most cases (by far) I've needed a
>> backup is when I have deleted stuff by mistake. Close second is some
>> buggy software having deleted or mangled files I've needed. Last [1]
>> come actual physical damage to storage media.
>>
>> Over-eager synchronization of backup won't help in the two first cases.
>>
>> Cheers
>> [1] In between would perhaps be malware mangling the data: my platform
>>     has never done that to me, but on other platforms it seems to
>>     happen regularly.
>>
>> -- tomás
>>
>
> I will agree. And from my point of view, it is a completely different 
> function to synchronize data between devices (computers) and a 
> different function of backups.
>
absolutely. Backup is entirely different.
BACKUP!!!
>
> On 4/4/20 7:02 PM, Andrei POPESCU wrote:
>> It does have a web interface for management (running by default only on
>> 127.0.0.1:8384), if this is what you meant.
>>
>> It is not possible to download / upload files via the web interface.
>
> I know it has a WEB UI - but it's mainly just to manage synchronized 
> devices.
>
> So for someone who wants to have a *serious* synchronization of their 
> files on different computers, the right choice is *Syncthing* and not 
> to use the synchronization that Nextcloud can offer ?
>
>
I have not tried Nextcloud or ownCloud for a couple years. I only 
remember both being either too complex or missing the options I wanted.

The web UI is the heart of the system. I suggest you inspect the 
syncthing process and the numerous options. It can be complex, or kinda 
simple.
https://docs.syncthing.net/
>
> On 4/4/20 9:45 PM, Linux-Fan wrote:
>> As far as I can tell, for this situation, Nextcloud would be able to 
>> handle
>> all of the needs. You could run it on either your local Raspberry Pi 
>> (which
>> might become overloaded depending on how often you chagen your files) 
>> or your
>> remote server. The server might be more stable and easier to access 
>> through
>> a public link thus I would conclude that installing Nextcloud on the 
>> server
>> would be worth trying.
>>
>> HTH
>> Linux-Fan 
>
> This is exactly what I believe in my own case!
> But because I haven't used the *Syncthing* I wanted to ask your 
> opinion as well. I don't know if the *Syncthing* is more "serious", 
> safer or suggest it for some *specific* cases.
> I already use my own *Nextcloud* for that and I don't have any problem.
> In addition to *syncing my files to different computers*, whenever I 
> want *I can send files to third parties* very easily and securely.
You can send the 56 character "device identification" to another to 
setup a sync of machines, then sync the specific folders you like.
Critical files can be encrypted individually by other means if you like.

This laptop syncs 6 folders with 5 computers, Three are LAN (wifi and 
cabled thru the router) Two are offsite.
Local State (Total)  216,932 files   59,099 folders   ~298 GiB total
ALL data being synced is a Copy of the working data (true backup)
ALL nodes have staggered Backups.

I also use Mega and Dropbox... both are slower, and Dropbox does have 
fallout (missing files or corrupt files)

>
>
> Thank you for your opinions and suggestions.
> In which case would you suggest Syncthing and *not* Nextcloud ?
Try all and see what you prefer. Best wishes.

[toc] | [prev] | [next] | [standalone]


#220946

FromAnastasios Lisgaras <tasosnumberten@yahoo.gr>
Date2020-04-05 22:20 +0200
Message-ID<zSjUl-1X7-15@gated-at.bofh.it>
In reply to#220926
On 4/5/20 4:53 PM, Peter Ehlert wrote:
> I have not tried Nextcloud or ownCloud for a couple years. I only 
> remember both being either too complex or missing the options I wanted.

What options did you not have with the own/Nextloud ?

> [...]

> You can send the 56 character "device identification" to another to 
> setup a sync of machines, then sync the specific folders you like.

I saw that *Syncthing* uses this method to recognize devices. Is it 
safer than Nextcloud approach ? (so it seems at least)

> Critical files can be encrypted individually by other means if you like.

The "other means" provided from *Syncthing* or do you mean independent 
software that you can use in any approach ?

> This laptop syncs 6 folders with 5 computers, Three are LAN (wifi and 
> cabled thru the router) Two are offsite.

Do you mean offline? Only with local/internal access ?

> Local State (Total)  216,932 files   59,099 folders   ~298 GiB total
> ALL data being synced is a Copy of the working data (true backup)
> ALL nodes have staggered Backups.

What exactly do you mean; could you please be more detailed?
Syncthing also uses *central* storage from all workplaces with backup 
strategies ?

> I also use Mega and Dropbox... both are slower, and Dropbox does have 
> fallout (missing files or corrupt files)

Why do this ?
Do you use highly secure open source software and then give access to 
your data to services like dropbox ??? :-o

> Try all and see what you prefer. Best wishes.

I actually want to use *Syncthing* for a long time (since I first read 
about it, enthusiastic about the security and approach it offers) but 
just because of the *Nextcloud* I have not come to the need if I do. And 
that is the truth to be honest.


-- 
Kind regards,
Tasos

[toc] | [prev] | [next] | [standalone]


#221019

FromPeter Ehlert <peter@sdi-baja.com>
Date2020-04-06 21:10 +0200
Message-ID<zSFi9-6CU-3@gated-at.bofh.it>
In reply to#220946
I am sorry I was not more clear. Been under the weather.

On 4/5/20 1:18 PM, Anastasios Lisgaras wrote:
> On 4/5/20 4:53 PM, Peter Ehlert wrote:
>> I have not tried Nextcloud or ownCloud for a couple years. I only 
>> remember both being either too complex or missing the options I wanted.
>
> What options did you not have with the own/Nextloud ?

I don't remember the details. It was actually a joint decision between 
me and a business associate. We were both looking for tools to share our 
separate storage resources, to backup and archive off-site for each other.

We experimented with several softwares, syncthing was chosen. no regrets.

>
>> [...]
>
>> You can send the 56 character "device identification" to another to 
>> setup a sync of machines, then sync the specific folders you like.
>
> I saw that *Syncthing* uses this method to recognize devices. Is it 
> safer than Nextcloud approach ? (so it seems at least)

I can't judge that, I don't recall the Nextcloud method if it is 
actually different in practice.

using syncthing ID has been quite satisfactory, when a new share is 
setup the info is an email away.

>
>> Critical files can be encrypted individually by other means if you like.
>
> The "other means" provided from *Syncthing* or do you mean independent 
> software that you can use in any approach ?
independent software. He uses encryption on some files and folders and I 
don't. I don't know what software he uses. Perhaps syncthing has such a 
tool, I never looked for one.
>
>> This laptop syncs 6 folders with 5 computers, Three are LAN (wifi and 
>> cabled thru the router) Two are offsite.
>
> Do you mean offline? Only with local/internal access ?

no, off-site. I backup and archive his data here, he does the same for 
me at his offices.

In my mind, the more nodes the better, as odds are there will be an 
active route available 24/7.

the "remote devices" are connected via internet.
my machines are connected via my router locally.

>
>> Local State (Total)  216,932 files   59,099 folders   ~298 GiB total
>> ALL data being synced is a Copy of the working data (true backup)
>> ALL nodes have staggered Backups.
>
> What exactly do you mean; could you please be more detailed?
> Syncthing also uses *central* storage from all workplaces with backup 
> strategies ?
>
I do Not sync any active working data. It is first copied to the sync 
folder, that then syncs with the other nodes.
syncthing provides zero storage. It is a transfer/sync tool between 
separate hardware.
the "cloud" is user owned and controlled.
>> I also use Mega and Dropbox... both are slower, and Dropbox does have 
>> fallout (missing files or corrupt files)
>
> Why do this ?
> Do you use highly secure open source software and then give access to 
> your data to services like dropbox ??? :-o
separate use, it was a sidebar comment. I only use them for small 
specific purposes as needed.
Dropbox is easy to use for sharing with others.
Mega syncs photos and files between my Androids and my computers 
gracefully, then I copy data to my system.
>
>> Try all and see what you prefer. Best wishes.
>
> I actually want to use *Syncthing* for a long time (since I first read 
> about it, enthusiastic about the security and approach it offers) but 
> just because of the *Nextcloud* I have not come to the need if I do. 
> And that is the truth to be honest.
>
try it, setup a couple small folders and see how it fits. the 
documentation is good, and the forum is handy/helpful.
you have nothing to loose. ;-)

[toc] | [prev] | [next] | [standalone]


#221073

FromAnastasios Lisgaras <tasosnumberten@yahoo.gr>
Date2020-04-07 19:00 +0200
Message-ID<zSZJT-1WO-9@gated-at.bofh.it>
In reply to#221019
On 4/6/20 9:43 PM, Peter Ehlert wrote:
> independent software. He uses encryption on some files and folders and I 
> don't. I don't know what software he uses. Perhaps syncthing has such a 
> tool, I never looked for one.

Ok, thanks! It would be very interesting if it has a built-in encryption 
and decryption feature.
Although this of course is independent. You can have a sync directory of 
only encrypted files - it's up to you.


> I do Not sync any active working data. It is first copied to the sync 
> folder, that then syncs with the other nodes.
> syncthing provides zero storage. It is a transfer/sync tool between 
> separate hardware.
> the "cloud" is user owned and controlled.

That's what I understood about Syncthing.
The data is *distributed* between the devices and not on a central 
server somewhere (like Nextcloud). It's a decentralized!
I think that's the main difference between Syncthing and Nextcloud ?


> separate use, it was a sidebar comment. I only use them for small 
> specific purposes as needed.
> Dropbox is easy to use for sharing with others.
> Mega syncs photos and files between my Androids and my computers 
> gracefully, then I copy data to my system.

So, let me suggest something too (if you have the resources for one more 
machine).
Try to use Nextcloud for this use, so your data will never remain in the 
hands of others - other than yourself and those who want to send it.


Thank you! :-)

[toc] | [prev] | [next] | [standalone]


#221088

FromPeter Ehlert <peter@sdi-baja.com>
Date2020-04-07 22:40 +0200
Message-ID<zT3aN-49A-9@gated-at.bofh.it>
In reply to#221073
On 4/7/20 9:50 AM, Anastasios Lisgaras wrote:
> On 4/6/20 9:43 PM, Peter Ehlert wrote:
>> independent software. He uses encryption on some files and folders 
>> and I don't. I don't know what software he uses. Perhaps syncthing 
>> has such a tool, I never looked for one.
>
> Ok, thanks! It would be very interesting if it has a built-in 
> encryption and decryption feature.
> Although this of course is independent. You can have a sync directory 
> of only encrypted files - it's up to you.
>
he uses files and folders within the various sync folders... no need for 
some special filing system if you don't want.

>> I do Not sync any active working data. It is first copied to the sync 
>> folder, that then syncs with the other nodes.
>> syncthing provides zero storage. It is a transfer/sync tool between 
>> separate hardware.
>> the "cloud" is user owned and controlled.
>
> That's what I understood about Syncthing.
> The data is *distributed* between the devices and not on a central 
> server somewhere (like Nextcloud). It's a decentralized!
> I think that's the main difference between Syncthing and Nextcloud ?
>
now I clearly recall after visiting and reviewing the nextcloud 
documentation, that need for a designated server was the deal killer.

that together with the apparent need for paid licensing for business 
use... not interested.

>
>> separate use, it was a sidebar comment. I only use them for small 
>> specific purposes as needed.
>> Dropbox is easy to use for sharing with others.
>> Mega syncs photos and files between my Androids and my computers 
>> gracefully, then I copy data to my system.
>
> So, let me suggest something too (if you have the resources for one 
> more machine).
> Try to use Nextcloud for this use, so your data will never remain in 
> the hands of others - other than yourself and those who want to send it.
maybe someday I will get curious and see.
syncthing is doing it already, not really interested

try it yourself


>
>
> Thank you! :-)
you are welcome
>
>

[toc] | [prev] | [next] | [standalone]


#221102

FromCharles Curley <charlescurley@charlescurley.com>
Date2020-04-08 04:20 +0200
Message-ID<zT8tP-7A7-1@gated-at.bofh.it>
In reply to#221088
On Tue, 7 Apr 2020 13:14:54 -0700
Peter Ehlert <peter@sdi-baja.com> wrote:

> now I clearly recall after visiting and reviewing the nextcloud 
> documentation, that need for a designated server was the deal killer.

Some sort of server is a good idea. It need not be the latest and
greatest. I use a 13 year old retired desktop for the purpose. 

> 
> that together with the apparent need for paid licensing for business 
> use... not interested.

I don't know where you got that idea. You certainly can get support for
an annual fee if you wish. However the software is licensed under the
Affero General Public License
(https://github.com/nextcloud/nextcloud.com/blob/master/LICENSE). The
Open Source Initiative approves it. You may download Nextcloud, install
it, examine it, and run it at no charge.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

[toc] | [prev] | [next] | [standalone]


#221112

FromCurt <curty@free.fr>
Date2020-04-08 14:30 +0200
Message-ID<zTi09-50q-5@gated-at.bofh.it>
In reply to#221102
On 2020-04-08, Charles Curley <charlescurley@charlescurley.com> wrote:
>> 
>> that together with the apparent need for paid licensing for business 
>> use... not interested.
>
> I don't know where you got that idea. You certainly can get support for

Having looked up this detail I think I know where he got that idea,
because the Enterprise version of Nextcloud does indeed seem to cost
some moolah (not that I'm against moolah personally, mind you, although
it has been vastly overrated):

https://nextcloud.com/pricing/

 Basic
 Starting at 50 users for 1900€/year
(Editor's note: does not include phone support.)

etc...

> an annual fee if you wish. However the software is licensed under the
> Affero General Public License
> (https://github.com/nextcloud/nextcloud.com/blob/master/LICENSE). The
> Open Source Initiative approves it. You may download Nextcloud, install
> it, examine it, and run it at no charge.
>




-- 

[toc] | [prev] | [next] | [standalone]


#221116

FromPeter Ehlert <peter@sdi-baja.com>
Date2020-04-08 17:30 +0200
Message-ID<zTkOm-6JV-17@gated-at.bofh.it>
In reply to#221102
On 4/7/20 6:48 PM, Charles Curley wrote:
> On Tue, 7 Apr 2020 13:14:54 -0700
> Peter Ehlert <peter@sdi-baja.com> wrote:
>
>> now I clearly recall after visiting and reviewing the nextcloud
>> documentation, that need for a designated server was the deal killer.
> Some sort of server is a good idea. It need not be the latest and
> greatest. I use a 13 year old retired desktop for the purpose.

I agree with the concept.

But what is the server is down? Minutes/hours/days?

  with syncthing the individual nodes support the system and do not 
depend on any one machine to be operating or on line

>
>> that together with the apparent need for paid licensing for business
>> use... not interested.
> I don't know where you got that idea. You certainly can get support for
> an annual fee if you wish. However the software is licensed under the
> Affero General Public License
> (https://github.com/nextcloud/nextcloud.com/blob/master/LICENSE). The
> Open Source Initiative approves it. You may download Nextcloud, install
> it, examine it, and run it at no charge.
>
>

[toc] | [prev] | [next] | [standalone]


#220882

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-04-04 18:00 +0200
Message-ID<zRTnc-2hA-17@gated-at.bofh.it>
In reply to#220871

[Multipart message — attachments visible in raw view] — view raw

On Sb, 04 apr 20, 15:01:48, Anastasios Lisgaras wrote:
> 
> In my use case, I have both a safe and a secure remote server machine (VM)
> and a raspberry Pi at my home to run continuously & incessantly 24/7.
> I have three computers. One at work a laptop and a desktop computer.
> What I want is for the three computers to have specific directories and
> files shared/synchronized.
> ( Probably the whole /home directory of my user. )
> I also want to be able to sometimes share/send my files - securely - to
> third parties.
> What do you think is the best approach for me?
> Maybe Syncthing + Nextcloud ?

Syncthing is meant for synchronizing directories between two or more 
devices on a continuous basis (setup once and forget about it).

It is certainly possible to use it also to share files with third 
parties. The initial setup is identical regardless of who owns the 
devices, one just needs an alternative communication channel to exchange 
device IDs.

It is also more complicated than a "Share" button offered by some 
platforms or just sending a link (and password) via some other 
communication channel.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#220883

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-04-04 18:10 +0200
Message-ID<zRTwS-2Ao-7@gated-at.bofh.it>
In reply to#220871

[Multipart message — attachments visible in raw view] — view raw

On Sb, 04 apr 20, 15:01:48, Anastasios Lisgaras wrote:
>
> Syncthing seems more restrictive than Nextcloud because it does not 
> have the "cloud" (WEB UI) function offered by Nextcloud.
> However, I would really like to try Syncthing to see what it really 
> offers and to be able to compare it with Nextcloud.

It does have a web interface for management (running by default only on 
127.0.0.1:8384), if this is what you meant.

It is not possible to download / upload files via the web interface.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#220895

FromLinux-Fan <Ma_Sys.ma@web.de>
Date2020-04-04 20:50 +0200
Message-ID<zRW1H-3Ww-11@gated-at.bofh.it>
In reply to#220871

[Multipart message — attachments visible in raw view] — view raw

Anastasios Lisgaras writes:

[...]

> On 3/25/20 7:44 PM, Linux-Fan wrote:

[...]

>> * Network File Systems.

[...]

>> * "Cloud"-like file synchronization.

[...]

> I really liked your *detailed* post! It really is a detailed and
> comprehensive answer.

Thanks :)

> In my use case, I have both a safe and a secure remote server machine (VM)
> and a raspberry Pi at my home to run continuously & incessantly 24/7.
> I have three computers. One at work a laptop and a desktop computer.
> What I want is for the three computers to have specific directories and
> files shared/synchronized.
> ( Probably the whole /home directory of my user. )
> I also want to be able to sometimes share/send my files - securely - to
> third parties.
> What do you think is the best approach for me?
> Maybe Syncthing + Nextcloud ?

[...]

As far as I can tell, for this situation, Nextcloud would be able to handle
all of the needs. You could run it on either your local Raspberry Pi (which
might become overloaded depending on how often you chagen your files) or your
remote server. The server might be more stable and easier to access through
a public link thus I would conclude that installing Nextcloud on the server
would be worth trying.

HTH
Linux-Fan

[toc] | [prev] | [next] | [standalone]


#220486

FromLinux-Fan <Ma_Sys.ma@web.de>
Date2020-03-25 18:50 +0100
Message-ID<zOika-6f3-11@gated-at.bofh.it>
In reply to#220424

[Multipart message — attachments visible in raw view] — view raw

Patrick Scribus writes:

> Hello,
>
> two of my computers have a similar role as desktop. The installed
> packages are nearly the same, the configuration is nearly the same and
> the stored data in /home also. Especially the texts, the pictures and
> the like require too much time and effort to keep in sync. At first I
> wrote a little script that uses the power of rsync. This is much better
> than no script at all. But I hope for a solution that automates this
> like in those talks from 10-15 years ago when they suggest to use coda.
> I would love to use coda but it seems like nobody is maintaining it
> since quite some time. What happened in the meantime? What do you guys
> use for similar tasks?

Hello,

there have been multiple answers already, so forgive me if my post does not
seem to add anything valuable. Still, it bugs me that there are many
different solutions proposed without their advantages and disadvantages
given?

I think that it is an important factor how the systems "online status" (in
sense of power and networking) is to be considered? Are both systems online
simultaneously? Are both systems online at the same time only for
synchonization?

I can think of different solutions depending on what is actually
wanted/neede:

 * Cluster File Systems.
   People have already mentioned ceph (which is more an object storage
   and thus slow on small files IIRC?). I can add OCFS (Oracle Cluster
   File System) to the list, although it is not so easy to set up.
   Cluster file systems make sense if both systems are online at the same
   time and should both access a common file system. Often, cluster
   file systems want a "third" machine for doing the actual storage work
   (e.g. an iSCISI target of OCFS). I have also tried out GFS2 in the past,
   but it is a PITA to set up!

 * Synchonization Tools.
   There are tools to invoke explicitly to call the synchronization.
   These make sense if both systems are online at the same time only
   for synchronization... if not, one will need to deal with "both changed"
   conflicts on a manual basis. I have no experience with syncthing
   (mentioned in the thread) -- syncthing might have a solution for this...

 * Network File Systems.
   If you have a constellation of: system1 and system2 where
   system2 online means system1 is online, too, then you might
   install a "file server" (NFS or similar) on system1 and share
   files through this mechanism. From all approaches proposed, I
   would recommend this as being the least complex in operation
   although this does not mean it is the least complex to setup.

 * "Cloud"-like file synchronization.
   These usually require a "third" server, too. And in my experience,
   whenever one is using "synchronized" files for non-trivial data
   processing (e.g. creating and reading a lot of files, storing a
   database, accessing the data with many processes...) most of these
   systems will fail one way or another (up to causing data loss). Yet,
   most people using such systems do not seem to have these issues :)
   These tools are useful in scenarios where there is no guarantee for
   any machine being online the same time as the other although this is
   achieved at the cost of running a "third" machine 24/7...

HTH and YMMV
Linux-Fan

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | linux.debian.user


csiph-web