LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2018, 09:40 PM   #1
moodymac
LQ Newbie
 
Registered: Aug 2018
Posts: 6

Rep: Reputation: Disabled
Using USB in WIFI router for external harddrive


I am using a 1TB external hard drive to back up two Linux machines and one each of Windows 10 and 7. I prefer to do daily backups, but that is a lot of work getting the drive to each machine. Can anyone direct me to (or tell me how) a good video or tutorial on the subject, using Linux as the os? I have a WIFI router with a 3.0 USB port. (I only have a 2.0 on the hdd, but who knows what the future may hold!) I like to do snapshots of the OSes and separately do the user files so they can be easily accessed. I understand there is some software which will allow a machine to access the router and when done will log that machine off so as not to hog the ext hd from the other machines.


Thanks
 
Old 08-10-2018, 01:39 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
"Using Linux as the OS", where exactly?

From what I'm reading, you have a WIFI router that has a USB jack on it and you wish to hook up a USB HDD to that to perform backups from several systems over WIFI.

Is that correct?
 
Old 08-10-2018, 02:18 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,745

Rep: Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924
That is my understanding...

Post the make and model number of the router.
Post the distribution/version you are running.

It depends on what protocols it supports but I would guess at least windows networking i.e. SMB/CIFS. You should be to access the share from the file browser as well as mount it from the command line which will require you to install the samba client utilities. It also matters how you plan to create snapshots since for example hard links can not be created on a network drive.
 
1 members found this post helpful.
Old 08-11-2018, 10:15 PM   #4
moodymac
LQ Newbie
 
Registered: Aug 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Using USB in WIFI router for external harddrive (Solved)

Thank you for the replies. The no snapshots on a network drive is a deal breaker, the essence of my idea was for the convenience of backups for all the machines, speeding up the process, etc.
 
Old 08-12-2018, 09:38 AM   #5
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Unless your wifi is unusually fast - ideally Gigabit(!) = 100MB/sec or 100Mbit = 10MB/sec, your backups will take forever.

Consider how long it will take to backup 1GB = 1,000MB, them multiply that by a thousand.
 
Old 08-12-2018, 05:29 PM   #6
moodymac
LQ Newbie
 
Registered: Aug 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Using USB in WIFI router for external harddrive (Solved)

Thanks for the heads up Jeremy Boden, just a bad idea all the way around. Just think of me being in a lazy mood. I thought I could save some work, didn't have the knowledge to recognize it for what it was (bad idea).
 
Old 08-13-2018, 10:20 AM   #7
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
If you have a USB3 connection on your PC, then getting a portable multi-Terabyte external drive could be a possible solution.
You should probably achieve 50MB/sec on sequential read/writes.

If you write data using rsync - it will take a long time on the first run, but thereafter it will only write changed files (or portions of).
Which can help enormously if most files don't change much.
 
Old 08-13-2018, 02:37 PM   #8
moodymac
LQ Newbie
 
Registered: Aug 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Using USB in WIFI router for external harddrive (Solved)

JeremyBoden If you have a USB3 connection on your PC, then getting a portable multi-Terabyte external drive could be a possible solution.
You should probably achieve 50MB/sec on sequential read/writes.

If you write data using rsync - it will take a long time on the first run, but thereafter it will only write changed files (or portions of).
Which can help enormously if most files don't change much.


I do have one laptop with 3.0 ports. This Dell (using) I am going to convert one of the card readers to USB 3.0. I use Timeshift to do the backups on the Linux Mint (18.3) machines and use rsync with it just capturing the OS, and doing user files with Backup Tool. I use Windows Backup for the Windows 7 and 10 (this I believe takes a snapshot but unknown if it is rsync).

I hooked an external drive into the router and got the Windows machines to recognize it by creating a share folder with the IP address in the network directory. I could not find a way to get Linux to recognize the external drive (through wifi).

The router is a Linksys EA7500, and has 3 USB ports on the back one of which is 3.0., runs at 2.5 or 5 ghz, and is hooked to a modem using cable internet.

If I install 3.0 USBs on the desktop I would be all set for the 3.0 hard drive.

Thanks for your time.
 
Old 08-14-2018, 01:06 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,745

Rep: Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924Reputation: 5924
Quote:
I hooked an external drive into the router and got the Windows machines to recognize it by creating a share folder with the IP address in the network directory. I could not find a way to get Linux to recognize the external drive (through wifi).
Depends on distribution/desktop you are running. Many file browsers have a built in samba client and can browse the network by selecting "Network". Or manually by entering smb://netbios_name or smb://IP_address in its URL box.

Otherwise you can manually mount the share but typically need to install the cifs-utils and samba-common packages.
 
Old 08-15-2018, 12:36 PM   #10
moodymac
LQ Newbie
 
Registered: Aug 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Using USB in WIFI router for external hard drive (Solved)

"Otherwise you can manually mount the share but typically need to install the cifs-utils and samba-common packages."

michaelk, the dist. is Linux Mint 18.3, cinnamon desktop with Chrome browser. I already had cifs-utils installed and downloaded samba-common (with the GUI). I played around with the GUI a bit and thought I had installed a share folder with it in the Network directory. However, when looking for the file it is not there. The whole thing is above my knowledge base and I think I will leave it alone for a while.
 
  


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
Using an external HD with a wifi router with USB Rescuetheperishing Linux - Hardware 3 01-28-2010 11:17 AM
[SOLVED] External USB Harddrive MBA Whore Linux - Hardware 2 08-21-2009 10:05 AM
mounting usb external harddrive jsteegh Linux - Hardware 3 04-25-2008 02:15 PM
Encrypted usb external harddrive Ephracis Linux - Security 2 11-10-2005 12:20 PM
USB External harddrive ashley75 Linux - General 1 10-28-2005 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:46 AM.

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