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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-05-2015, 01:45 PM
|
#1
|
LQ Newbie
Registered: Aug 2015
Location: Earth now, Mars later
Distribution: Mint
Posts: 9
Rep:
|
which disc imaging solution do you prefer?
I've switched to the latest version of Mint and love this way better than Ubuntu. I have it all configured the way I want it now but something I've never done with Linux yet is create a disc image and restore from it. Out of all the ways to do this with Linux what is the one way you like the best? Ideally I want to keep this as simple as possible (like the way Windows 7 does it) but I'm open to hearing what everyone prefers. I've been reading up on this a lot the last couple of days and I see Clonezilla come up a lot but I'd love to see opinions here. What do you think is the easiest way to create/restore disc images with Mint?
|
|
|
09-05-2015, 01:54 PM
|
#2
|
Member
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
|
Something like...
Code:
dd if=/dev/sdX | gzip > /media/disk/backup.gz
|
|
|
09-05-2015, 02:04 PM
|
#3
|
Senior Member
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187
|
Last edited by Head_on_a_Stick; 09-05-2015 at 02:06 PM.
|
|
|
09-05-2015, 02:16 PM
|
#4
|
Moderator
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,016
|
Quote:
Originally Posted by ugjka
Something like...
Code:
dd if=/dev/sdX | gzip > /media/disk/backup.gz
|
This is my preferred method. Love me some dd.
|
|
|
09-05-2015, 02:51 PM
|
#5
|
Member
Registered: Sep 2009
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 299
Rep:
|
I prefer fsarchiver. Since i have two Linux OSs it's a simple matter for me to restore one with fsarchiver on the other. If however you have only one on your disk i suggest a persistent live usb with fsarchiver installed on it.
The fsarchiver man page is not something that should daunt even a newbie, the entire list of commands/options is barely a page long
How to make a persistent live usb
I would however, qualify my suggestion with the following:
You will need a large enough usb, probably 16 GB at least.
I have yet to try it out with a live persistent usb.
|
|
|
09-05-2015, 04:27 PM
|
#6
|
Moderator
Registered: Mar 2008
Posts: 22,130
|
Peek at the software manager for backup solutions. There are plenty of choices that you may wish to use.
In the best world, you'd use file by file such as Clonezilla/Redobackup would use. Other choice like tar, cpio, and gparted may also be useful.
There are so many choices when it comes to backup it is impossible to guess. A bit by bit solution like dd is OK but unless you compress the image off to remote storage the file can exceed your drive size.
I've used G4U a lot which is simply dd with compression. I use it networked to a storage location.
Last edited by jefro; 09-07-2015 at 02:35 PM.
|
|
|
09-05-2015, 04:36 PM
|
#7
|
Member
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240
Rep:
|
Why cloning for backup? Just rsync everything to a safe place. With LVM snapshots you can do this even on a running system.
|
|
|
09-06-2015, 02:41 PM
|
#8
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,654
Rep:
|
I would use dd to create an image; however, I would back up using tar (plus gzip/bzip2) to restore at a later date.
|
|
|
09-06-2015, 05:44 PM
|
#9
|
Member
Registered: Sep 2015
Posts: 495
Rep:
|
If you ever want to restore to a different drive, you have to edit fstab file and change the uuid numbers which are unique to each drive, that is how linux know what home,root etc... are.
|
|
|
All times are GMT -5. The time now is 01:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|