Using Extrenal USB Hard Drives

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
vbqyf
Level 1
Level 1
Posts: 17
Joined: Wed Aug 07, 2019 11:33 am

Using Extrenal USB Hard Drives

Post by vbqyf » Sun Aug 11, 2019 9:44 pm

Am new. Now starting to convert our 5 computers running Windows 7 Pro to Linux. On the first, am running 19.2 Cinnamon. We have 2 external USB Hard Drives . We have been using for full weekly backups on Windows systems. Put tthem offsite in bank safety deposit boxes. What is needed to do to use them in Linux? Format to ext 4? Use as is? Something else?
Thanks.

deck_luck
Level 4
Level 4
Posts: 210
Joined: Mon May 27, 2019 6:57 pm
Location: here

Re: Using Extrenal USB Hard Drives

Post by deck_luck » Mon Aug 12, 2019 2:30 am

I guess you are planning to use them as external storage devices for your Linux backups. If so I would use Linux native file systems like ext4. Do you know how to partition the disks and use the mkfs.ext4 command to make a new ext4 file system?
💡Give a man a fish, and you feed him for a day. Teach a man to fish, and you feed him for a lifetime. ✝️

User avatar
Garvan
Level 4
Level 4
Posts: 298
Joined: Sun May 29, 2011 3:26 am
Location: Thailand
Contact:

Re: Using Extrenal USB Hard Drives

Post by Garvan » Mon Aug 12, 2019 2:42 am

I prefer to use Fat32 or ntfs formatted external hard disks so I can access the files from a Windows Computer. My ntfs backup disk shows up as FUSE in Linux. Fat32 has limits on maximum file size and maximum partition size, so the FUSE disk is more flexible.
Notebook: DELL Latitude E5520, i5-2520M @ 2.50 GHz, 4GB RAM, Linux Mint 17.2 (2011)
Notebook: DELL Latitude 5280, i5-73000 @ 2.7 GHz., 16 GB RAM, Linux Mint 19.2 (2019)

User avatar
lsemmens
Level 8
Level 8
Posts: 2423
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: Using Extrenal USB Hard Drives

Post by lsemmens » Mon Aug 12, 2019 10:11 pm

All of the above have merit. Personally, I use EXT4 formatted drives and then copy the critical stuff across, but there are automated backup solutions that can be used. Especially if the data is "mission critical".

The only reason that you would want to use FAT or NTFS is if you might need to access that data from a windwoes based system.
Kernel: 4.15.0-46-generic x86_64 bits
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop HP-ProBook-470-G2 8Gb RAM SSD
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Mint machines
Out of my mind - please leave a message

jglen490
Level 5
Level 5
Posts: 642
Joined: Sat Jul 15, 2017 9:57 pm

Re: Using Extrenal USB Hard Drives

Post by jglen490 » Mon Aug 12, 2019 10:16 pm

I have 4 external hard drives in USB enclosures that are used for rotating backups. Each of them is formatted to ext4, with one partition on each. None are bootable, since each is plugged in on a schedule, receive a backup, and then unmounted and stored off-line.
I feel more like I do than I did when I got here.
Toshiba A135-S2386, Intel T2080, ATI Radeon® Xpress 200M Chipset, 2GB RAM, 500GB

rtaft
Level 1
Level 1
Posts: 5
Joined: Thu Oct 26, 2017 1:47 pm

Re: Using Extrenal USB Hard Drives

Post by rtaft » Wed Aug 14, 2019 10:24 am

I would NOT use ext4 for a backup USB drive, at least not without reconfiguring it. You lose so much space to overhead that you don't need on a backup drive. By default its a 5% loss, on an 8TB drive you lose 372.5 GB. There is a way to tune that space down to 1% , but its still 74.5GB.

If you are using it on Linux only XFS is a good choice for a storage drive.

vbqyf
Level 1
Level 1
Posts: 17
Joined: Wed Aug 07, 2019 11:33 am

Re: Using Extrenal USB Hard Drives

Post by vbqyf » Fri Aug 16, 2019 11:42 am

Thank you for all the responses.

1. We do know how to format to Ext 4. Not sure why I would want to partition the drive as I would use it only for the Linux FULL backups. (We do have 2 drives we use for our main windows system for Full backups.). Reformatted a USB flash drive to Ext 4 which we use for snapshots.

For daily file backups ONLY for files that have changed or are new we wrote a DOS batch file to run them. Do that manually each day. We save them on a 3rd internal hard drive used only for that. An automated program would be nice for the Linux.

2. Do not need to have backups available to Windows systems. Eventually will convert all our OS's to Mint. Now working with first conversion.

3. Re "automated backup solutions" - any suggestions?

Again, I really appreciate the responses.
M.

rtaft
Level 1
Level 1
Posts: 5
Joined: Thu Oct 26, 2017 1:47 pm

Re: Using Extrenal USB Hard Drives

Post by rtaft » Fri Aug 16, 2019 11:45 am

rsync only copies files that have changed, however it's default usage does not delete files that have been deleted on the source. I typically use
rsync -ah --progress src/ dest/

athi
Level 6
Level 6
Posts: 1451
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: Using Extrenal USB Hard Drives

Post by athi » Fri Aug 16, 2019 11:51 am

3. Re "automated backup solutions" - any suggestions?
You can use rsync which is CLI only or there are a lot of GUI frontend to rsync. I use luckyBackup which is available in the Package Manager.
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core duo.

User avatar
AndyMH
Level 8
Level 8
Posts: 2493
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Using Extrenal USB Hard Drives

Post by AndyMH » Fri Aug 16, 2019 12:35 pm

If you want command line write your own script to run rsync, it's how I used to do my file backups in mint when I first started.

If you want a GUI interface then timeshift and backintime. timeshift for the system, backintime for your data (/home). Can be automated - mine are set to auto backup daily to an internal removable HDD. Timeshift insists on an ext4 partition as the destination, backintime doesn't care and will work with fat or ntfs.

Above are file level backup utilities and are only two of many. Most linux GUI backup utilities are front ends for rsync.

If you want image backup, then clonezilla (clunky interface) or redo (simple but obsolete) are probably the most common. With both, download iso, burn to usb stick and boot from it. Another would be macrium reflect (windows based, not free but there is a limited free version), install in windows create bootable USB stick. One other I've come across is veeam, linux based, not free but free version, command line (but uses ncurses so slightly better user interface than clonezilla). Veeam is the only one I've found that I think will image backup a live filesystem (you install in mint and don't need a separate bootable USB stick).
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

br1anstorm
Level 4
Level 4
Posts: 360
Joined: Mon Nov 24, 2014 8:53 am

Re: Using External USB Hard Drives

Post by br1anstorm » Fri Aug 16, 2019 6:43 pm

Wise words from AndyMH, whose comments set out clearly the need to think about what you are backing up, and why.

My own suggestion on this (as a relative newbie, still, after 5 years, to Linux, and a Windows XP and 7 user before that) is that it is simpler and easier to use software with a straightforward GUI to do backups, rather than having to devise or apply command-line code. Also very sensible - for obvious reasons - to save backups on to external drives.

So I endorse the recommendation to use Timeshift to back up your system (think of it like 'system restore' in Windows). It needs an ext4 formatted drive or partition. And beware: don't programme too many, or too frequent, snapshots - you'd be surprised how quickly they fill up a drive!

To backup your personal files/docs/photos/whatever, there are several options, as AndyMH has noted. BackInTime and DejaDup both seem to do the job. How you plan the backup depends on what you want to save/protect and why: safeguarding versions of a work-in-progress may require more frequent backups than, say, copying and saving precious photos or music collections.

And as the fail-safe protection against total disaster, a disk image made using Clonezilla or ReDo is always comforting....

User avatar
AndyMH
Level 8
Level 8
Posts: 2493
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Using Extrenal USB Hard Drives

Post by AndyMH » Sat Aug 17, 2019 4:43 am

I use both timeshift and backintime auto running daily to internal HDDs (sat in the ultrabay on my laptops in place of the DVD drive, in a removable caddy in my desktop). Why internal? SATA interface = faster than usb. I have two profiles set up in backintime, main one = everything in /home/me, and another running weekly for my VMs (win7 & XP) = /home/me/VirtualBox VMs. VMs are multi GB and don't change that much.

Periodically I take partition images to an external usb HDD using redo. Redo is still available on sourceforge, but may not work with newer hardware and some users have reported problems getting it to boot from usb. It was last updated in 2012 and is abandonware. It is written in perl and is a front end for partclone. Because there is no current simple GUI based linux image utility I've been developing one to replace redo, not finished yet.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

User avatar
catweazel
Level 19
Level 19
Posts: 9485
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Using Extrenal USB Hard Drives

Post by catweazel » Sat Aug 17, 2019 5:18 am

vbqyf wrote:
Sun Aug 11, 2019 9:44 pm
What is needed to do to use them in Linux?
Just plug them in. Linux can read and write Windwoes format disks.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

User avatar
AZgl1500
Level 11
Level 11
Posts: 3528
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Using Extrenal USB Hard Drives

Post by AZgl1500 » Sat Aug 17, 2019 6:11 am

catweazel wrote:
Sat Aug 17, 2019 5:18 am
vbqyf wrote:
Sun Aug 11, 2019 9:44 pm
What is needed to do to use them in Linux?
Just plug them in. Linux can read and write Windwoes format disks.
I totally agree, leave them as they are.
this will allow you access to the files you already have stored on the USB drives.

vbqyf
Level 1
Level 1
Posts: 17
Joined: Wed Aug 07, 2019 11:33 am

Re: Using Extrenal USB Hard Drives

Post by vbqyf » Sat Aug 17, 2019 8:32 am

Thanks. Will try. I appreciate it. M.

vbqyf
Level 1
Level 1
Posts: 17
Joined: Wed Aug 07, 2019 11:33 am

SOLVED Re: Using Extrenal USB Hard Drives

Post by vbqyf » Sat Aug 17, 2019 10:15 am

Thanks to all. I truly appreciate the help. It will be a little while before I actually try to set up and run daily backups. If I have problems then, will post again. Marking it SOLVED now.
M.

Netherprovinc3
Level 3
Level 3
Posts: 175
Joined: Mon Feb 04, 2019 9:29 pm

Re: Using Extrenal USB Hard Drives

Post by Netherprovinc3 » Mon Aug 19, 2019 12:44 am

athi wrote:
Fri Aug 16, 2019 11:51 am
3. Re "automated backup solutions" - any suggestions?
I use luckyBackup which is available in the Package Manager.
I read that luckybackup is not developed anymore. Not sure how true that is; github shows activity 4 months ago.
Edit: Source: https://askubuntu.com/questions/2596/co ... ckup-tools
Last edited by Netherprovinc3 on Mon Aug 19, 2019 3:03 am, edited 1 time in total.
Linux Mint 19.1 Cinnamon

athi
Level 6
Level 6
Posts: 1451
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: Using Extrenal USB Hard Drives

Post by athi » Mon Aug 19, 2019 1:08 am

Netherprovinc3 wrote:
Mon Aug 19, 2019 12:44 am
athi wrote:
Fri Aug 16, 2019 11:51 am
3. Re "automated backup solutions" - any suggestions?
I use luckyBackup which is available in the Package Manager.
I read that luckybackup is not developed anymore. Not sure how true that is; github shows activity 4 months ago.
Just checked and development is frozen. Thank you for pointing this out, might be time to explore other backup utilities.
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core duo.

Post Reply

Return to “Hardware Support”