Using Extrenal USB Hard Drives
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Using Extrenal USB Hard Drives
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.
Thanks.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Using Extrenal USB Hard Drives
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?
🐧Linux Mint 20.3 XFCE (UEFI - Secure Boot Enabled) dual boot with Windows 11
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
Give a friend a fish, and you feed them for a day. Teach a friend how to fish, and you feed them for a lifetime. ✝️
Re: Using Extrenal USB Hard Drives
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)
Notebook: DELL Latitude 5280, i5-73000 @ 2.7 GHz., 16 GB RAM, Linux Mint 19.2 (2019)
Re: Using Extrenal USB Hard Drives
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.
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.
Fully mint Household
Out of my mind - please leave a message
Out of my mind - please leave a message
Re: Using Extrenal USB Hard Drives
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.
Re: Using Extrenal USB Hard Drives
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.
If you are using it on Linux only XFS is a good choice for a storage drive.
Re: Using Extrenal USB Hard Drives
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.
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.
Re: Using Extrenal USB Hard Drives
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/
Re: Using Extrenal USB Hard Drives
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.3. Re "automated backup solutions" - any suggestions?
Re: Using Extrenal USB Hard Drives
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 (
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).
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).
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
-
- Level 5
- Posts: 603
- Joined: Mon Nov 24, 2014 8:53 am
Re: Using External USB Hard Drives
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....
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....
Re: Using Extrenal USB Hard Drives
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
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.
/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.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Using Extrenal USB Hard Drives
Just plug them in. Linux can read and write Windwoes format disks.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
- AZgl1800
- Level 20
- Posts: 11145
- 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
I totally agree, leave them as they are.
this will allow you access to the files you already have stored on the USB drives.
Re: Using Extrenal USB Hard Drives
Thanks. Will try. I appreciate it. M.
SOLVED Re: Using Extrenal USB Hard Drives
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.
M.
-
- Level 4
- Posts: 456
- Joined: Mon Feb 04, 2019 9:29 pm
Re: Using Extrenal USB Hard Drives
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.
Re: Using Extrenal USB Hard Drives
Just checked and development is frozen. Thank you for pointing this out, might be time to explore other backup utilities.Netherprovinc3 wrote: ⤴Mon Aug 19, 2019 12:44 amI read that luckybackup is not developed anymore. Not sure how true that is; github shows activity 4 months ago.