LinuxQuestions.org
Register a domain and help support LQ
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 09-05-2014, 10:03 PM   #1
Don Graham
Member
 
Registered: Apr 2014
Location: Bangsaen Beach, Thailand
Distribution: Ubuntu 15.04 & Mint 17.1
Posts: 124

Rep: Reputation: Disabled
Show me how to make a copy of my OS


Hi all, I am what you might called a tinker around kind of guy. To illistrat this. I have crash my Ubuntu four times. I am on my 5th install. I have it set up just the way I like it. I would very much like to have someone eather tell me or show me how to make a copy of my current OS. It would be nice if it could be placed on a live USB stick.

After all it is not if but when I next crash my current OS. So it would be a good idea to have a USB stick all ready loaded.
 
Old 09-05-2014, 10:42 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You can clone os as an image or you can clone as a device(exact copy). I usually use clonezilla.
 
Old 09-05-2014, 11:26 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Remastersys was developed specifically for this purpose. Although it is not longer being developed, I have read posts at the Ubuntu forums that it still worked with 14.04. I used it on 12.04 so I know that works. Details at the link below.

http://www.distrogeeks.com/install-remastersys-ubuntu/
 
Old 09-06-2014, 12:28 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Usually backing up your home directory along with all the hidden files gets you most of your original system back (assuming you're reinstalling the same OS). For getting the same system settings, you can also back up your /etc folder. If you have added software not provided by your package manager backing up /opt will give you that. Finally if you have compiled stuff yourself you can back up /usr/local. Something like rsync does the job well.
jdk
 
Old 09-06-2014, 01:06 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,833

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
I see you have snapshot as a tag - that is certainly another option, but requires you to installed on a valid environment. That would be LVM or btrfs.
Managed appropriately, you can even just reboot from the snap. Doesn't obviate the need for a backup (of the snap) on a more permanent media - say rsync.

Another option I like is fsarchiver, which does CRC checking of the data so you have (much) more confidence in the backup.
 
  


Reply

Tags
crash, install, os, snapshot, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Copy command to show progress bar or status sudo_su Linux - Newbie 5 08-03-2013 05:16 PM
Make the terminal show me where i am AriciU Slackware 11 07-08-2007 10:11 AM
Can any console program show the percentage of a copy procedure ? rikos.k Linux - Software 1 06-07-2007 07:13 PM
How can I make my router show my computer name rui Linux - Newbie 2 06-16-2006 07:54 AM
make php show up? Maver Linux - General 5 06-11-2004 03:42 PM


All times are GMT -5. The time now is 07:59 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration