LinuxQuestions.org
Review your favorite Linux distribution.
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 05-18-2016, 05:32 AM   #1
Richard14
Member
 
Registered: Nov 2009
Location: Near Ludlow
Distribution: Ubuntu 15.10
Posts: 92
Blog Entries: 1

Rep: Reputation: 0
Smile Image of Ubuntu15.10 & Windows Pro7


Have 120Gb SSD windows Pro7, Ubuntu 15.10 Plus 500Gb HD for Data eg /home for linux.

Have 1Tb 2.5" USB3 portable HD with 600mb free
How and what programme to take images of all this?

Thanks for any advice.
Richard14

Last edited by Richard14; 05-18-2016 at 08:25 AM.
 
Old 05-18-2016, 08:25 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Depends on what you want.

The dd utility by itself can create an image of the entire 12GB SSD and put it in a file on disk.

For the 500GB separate data (as in not required to be bootable), I would use tar. But there is also rsync. Backing up a Windows directory would call for some Windows based backup tool. The advantage of using tar/rsync/whatever is that there is no need to backup any metadata - just the used data blocks.

To restore the dd image copy requires booting a live system, then using dd to copy the image back...

Note: the dd image must be made of the whole device, not by partition. That way it captures any boot blocks, partition tables AND the two bootable systems.

But there are other ways...
 
Old 05-18-2016, 10:06 AM   #3
Richard14
Member
 
Registered: Nov 2009
Location: Near Ludlow
Distribution: Ubuntu 15.10
Posts: 92

Original Poster
Blog Entries: 1

Rep: Reputation: 0
Thank You jpolard very helpful.
 
Old 05-18-2016, 04:13 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,996

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
A lot of people like dd for identical clone images. You could add in gzip or other compression to make the image smaller.

You could also consider any of the other ways too. Tools like redobackup, clonezilla, G4U and rsync tar and cpio along with Gparted/partimage copy partition. Generally faster to copy file by file instead of bit by bit.

If you have a WD drive you could even use their version of Acronis.
 
Old 05-22-2016, 05:17 AM   #5
Richard14
Member
 
Registered: Nov 2009
Location: Near Ludlow
Distribution: Ubuntu 15.10
Posts: 92

Original Poster
Blog Entries: 1

Rep: Reputation: 0
Thanks jefro for your input.

As I have not done this before, not sure how to start, do I boot from a live CD/DVD to run dd to backup the entire SSD/HD and do all drives have to be umounted?

Regards,

Richard
 
Old 05-22-2016, 06:31 AM   #6
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
It isn't absolutely necessary - but helpful.

The problem is active files... With Linux, the problem is with journald and its binary log. Since the system is active, a dd copy will copy the file as it exists on disk - which will not include any buffers in memory. This in turn, can cause the file to appear to be corrupted - making access to the log problematical for journald, and may even cause journald to abort.

doing the dd from a live system bypasses this. It can also be done in single user mode where the system disk is mounted read only - again, the disk files will be idle as you can't write to a read only filesystem.
 
  


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
LXer: Setup QCOW2 standard CentOS 7 cloud image to work with 2 VLANs on IceHouse ML2&OVS&GRE System LXer Syndicated Linux News 0 08-31-2014 03:30 AM
LXer: Windows 7 & Windows 8 vs. Ubuntu 13.04 & Fedora 18 LXer Syndicated Linux News 0 04-05-2013 09:40 PM
Installing & using google talk & skype & other Windows applicatiounder Xubuntu rakeshj Linux - Desktop 6 07-31-2007 01:40 PM
LXer: Creating a dd/dcfldd Image Using Automated Image & Restore (AIR) LXer Syndicated Linux News 0 03-07-2007 05:16 PM
silicon image 0680 pci-raid controller && Fedora happy78 Linux - General 1 06-07-2005 01:07 AM

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

All times are GMT -5. The time now is 12:49 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