LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-03-2009, 09:48 PM   #1
kincanonmi
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
Newbie - How do I backup my /Home folder to an external device


I originally installed Ubantu 8.04 and then upgraded to 8.1 that managed to trash my log graphical log in and now have to run "startx" from terminal mode to get Gnome up and running.

The best solution I have is to do a clean install of Ubantu 8.1. But I don't want to loose all my personal data particularly my addresses I have in Thunderbird and some old email data still in Evolution.

First -What's the easiest way to backup my /Home folder and my email data and any other files that should be included.

Second - How can I check to see if my /Home directory is located in a separate partition and if not can I create a second partition and copy over my /Home folder and any other important files that should be backed up prior to beginning the new install?

Mike
 
Old 01-03-2009, 10:10 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Quote:
Originally Posted by kincanonmi View Post
I originally installed Ubantu 8.04 and then upgraded to 8.1 that managed to trash my log graphical log in and now have to run "startx" from terminal mode to get Gnome up and running.

The best solution I have is to do a clean install of Ubantu 8.1. But I don't want to loose all my personal data particularly my addresses I have in Thunderbird and some old email data still in Evolution.

First -What's the easiest way to backup my /Home folder and my email data and any other files that should be included.

Second - How can I check to see if my /Home directory is located in a separate partition and if not can I create a second partition and copy over my /Home folder and any other important files that should be backed up prior to beginning the new install?
I've a very simple way to backup my home partition, maybe it can also work for you. Please see my reply in this thread for a small walkthrough:

http://www.linuxquestions.org/questi...toring-365347/

Quote:
Originally Posted by kincanonmi View Post
Second - How can I check to see if my /Home directory is located in a separate partition and if not can I create a second partition and copy over my /Home folder and any other important files that should be backed up prior to beginning the new install?

Mike
The command df -h should give you a good idea of how your partitions look. Here you can see where my partitions for Windows are and where they are mounted:

Code:
/dev/sda1              98G   23G   75G  24% /media/win_c
/dev/sda5             601G  218G  384G  37% /media/win_d
So, basically, what that means is that my second partition (sda2) is mounted at /media/win_d, is using 218GB and has 384GB free. You may also want to check the command fdisk if df is not clear enough:

http://linux.die.net/man/8/fdisk

If you wish to create a new partition in order to backup your system, gparted is probably the easiest tool to use:

http://gparted.sourceforge.net/

You can easily install it with:

Code:
sudo apt-get install gparted
However, your problem seems so simple that I would try to fix your issue instead of reinstalling and messing up with backup/restoring. Try this:

Code:
sudo cp /etc/event.d/rc-default /etc/event.d/rc-default.bak
sudo gedit /etc/event.d/rc-default
The thing is that most likely, you are booting into a runlevel where the start script won't try to initialize the X server. You can read more about runlevel here:

http://en.wikipedia.org/wiki/Runlevel

Substitute telinit 2 with 3 in that file, save and restart your system to see if that works. If it does not, revert the file back.

I hope this is of any help.

Regards!

Last edited by Mega Man X; 01-03-2009 at 10:11 PM.
 
  


Reply

Tags
backupoptions, data, partitioning



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
New installation: restoring the old home folder? Backup advices bruno321 Linux - General 4 11-18-2007 08:55 AM
Sorting all files of home folder modified after a specific date for backup fc6_user Linux - General 2 03-30-2007 02:24 AM
Home folder icon does not open home folder CiscoGeek Linux - Newbie 3 12-18-2006 07:00 AM
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 02:09 PM

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

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