LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-29-2019, 05:23 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Rep: Reputation: 46
syncing files: lftp vs rsync vs dropbox vs nextcloud


I like the idea of having my files backed up online, but the 500MB of RAM required by dropbox, or nextcloud, seems excessive.

Assuming I have a web host that allows ftp and/or rsync, I wonder if could do something like setup cron to sync certain files every 15 minutes, or so.

I suspect, this would would take a lot less RAM and CPU, than what is required by dropbox or nextcloud.

I think lftp can be used to sync files. I wonder how much RAM/CPU would be used?

Judging from this documentation, it seems that rsync would be fairly efficient as well.

https://rsync.samba.org/FAQ.html

Any thoughts appreciated. Thanks in advance.

Last edited by walterbyrd; 08-29-2019 at 05:26 PM. Reason: grammatic
 
Old 08-29-2019, 06:31 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
backed up online scares me. But my upload speed has always sucked and my download speed while better than a decade ago is nothing to brag about. And then there's security aspects and legal aspects. You have plausible deniability when it's on a thing in your house and you're not the only one living there. A lot less so when it's on a 3rd parties computer and they have your cc and other personal identifying credentials.

I do my backups / syncing by external drives locally. When I'm lazy, computer to computer via netcat. Rarely I'll setup an NFS share.
 
Old 08-29-2019, 06:32 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
I'll also rarely rsync my thumb drives to a much bigger drive. And wipe them clean for other purposes.
 
Old 08-30-2019, 06:12 AM   #4
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
> I do my backups / syncing by external drives locally

If there is a break-in, or a fire, or something, locally; you would lose everything.

Also, if you are away from your computer, there is no way to reach your files.
 
Old 08-30-2019, 06:29 AM   #5
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,295
Blog Entries: 3

Rep: Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719
The only online service that looks like it has potential from my perspective would be Tarsnap. I definitely would not trust the other "cloud" storage providers or their client software.

Otherwise you can get quite far by rotating through enrypted multi-terabyte USB drives and always keeping one or two off site.
 
Old 08-30-2019, 06:46 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
There's this Linux application that can connect to dozens of cloud storage services... name eludes me atm... probably more lightweight than dropbox.
 
Old 08-30-2019, 10:42 AM   #7
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by walterbyrd View Post
I like the idea of having my files backed up online, but the 500MB of RAM required by dropbox, or nextcloud, seems excessive.

Assuming I have a web host that allows ftp and/or rsync, I wonder if could do something like setup cron to sync certain files every 15 minutes, or so.

I suspect, this would would take a lot less RAM and CPU, than what is required by dropbox or nextcloud.

I think lftp can be used to sync files. I wonder how much RAM/CPU would be used?

Judging from this documentation, it seems that rsync would be fairly efficient as well.

https://rsync.samba.org/FAQ.html

Any thoughts appreciated. Thanks in advance.
I do both to my web server for critical files as well as to my local file server. For both I use rsync -aviS with output to a date_named_log.txt file. I also use the ssh rsa token along with config files to make both backups easier. see my sig for those details.
 
Old 08-31-2019, 02:13 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by ondoho View Post
There's this Linux application that can connect to dozens of cloud storage services... name eludes me atm... probably more lightweight than dropbox.
Got it: https://rclone.org/
 
1 members found this post helpful.
Old 09-02-2019, 11:33 AM   #9
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
Rclone looks interesting. Thank you.
 
Old 09-14-2019, 03:45 AM   #10
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Quote:
Originally Posted by walterbyrd View Post
> I do my backups / syncing by external drives locally

If there is a break-in, or a fire, or something, locally; you would lose everything.

Also, if you are away from your computer, there is no way to reach your files.
If there's a fire or break in, I have bigger issues than my "data".

You can setup various ways to access your files remotely. Without needing a cloud service. Granted limited by your home network speed.

Locally doesn't always mean in only one location. Once a year make a mass backup, wrap that up in plastic and duct tape it to hell and back, stick it in a water proof box, and bury it somewhere in the yard. Fireproof at least. And would require "effort" by said break in, probably more effort and time than most are willing to do. Assuming that they know that buried three feet down and under that 100lbs rock is "data".
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dropbox dropping syncing LQParsons Linux - Software 14 03-05-2019 06:39 AM
[SOLVED] New user problem with Dropbox and sudo relating to "Can't monitor Dropbox folder" error. globetrotterdk Slackware 9 03-22-2018 09:15 AM
Broken nextcloud davs link in Gnome Files Superspeed500 Linux - Software 0 11-09-2017 02:45 PM
rsync can not rsync files with include filter... xiutuo Linux - Server 2 07-23-2010 02:10 AM
Could I run rsync to download files from a server without rsync daemon? Richard.Yang Linux - Software 1 09-18-2009 04:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration