LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 10-23-2008, 07:25 AM   #1
aescott
Member
 
Registered: Dec 2006
Location: Glasgow
Distribution: openSuse 11.0 x64
Posts: 32

Rep: Reputation: 15
Backup question


Hi

If I make a copy of everything in the "/" directory (all files and folders), re-install openSuse and then copy that back-up back to my hard disc, will that give me exactly the same system as I had before?

I'm asking as I may need to change my hard disc partitions and re-install openSuse. I want openSuse to be as it was before making the partition adjustments.
 
Old 10-23-2008, 07:53 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
Copying everything in / is largely redundant with re-installing. Why not just copy the key configuration files?---e.g. everything in your home directory, plus the contents of /etc.

You could also consider re-sizing the existing partitions and/or cloning the installation using dd.

If you will post the current configuration--including the output of fdisk -l--maybe someone will have more specific advice.
 
Old 10-23-2008, 11:59 AM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Look into System Imager. It does exactly what you want to do.

And backing up all of / then copying over most of what is the base install of Suse is just wasting your time. Search for bare-metal recovery. You can save time and space by just backing up any configuration changes for applications and data that isn't part of the actual OS install.
 
Old 10-23-2008, 12:25 PM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,105

Rep: Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720
Quote:
Originally Posted by trickykid View Post
Look into System Imager. It does exactly what you want to do.

And backing up all of / then copying over most of what is the base install of Suse is just wasting your time. Search for bare-metal recovery. You can save time and space by just backing up any configuration changes for applications and data that isn't part of the actual OS install.
Agreed. Just copying stuff is highly dangerous, and even if it does work, things will probably be a bit...'off'.
 
Old 10-23-2008, 05:34 PM   #5
aescott
Member
 
Registered: Dec 2006
Location: Glasgow
Distribution: openSuse 11.0 x64
Posts: 32

Original Poster
Rep: Reputation: 15
Backup

Thank you all for your help. It is clear to me that, as a former Windows user, my understanding of real OSs is somewhat rudimentary.

Until this morning, my laptop was dual-boot (Windows and openSuse 11.0 x64). I decided that, as I haven't used Windows for months to get rid of it. One option was as I described - backup, re-install and then restore....however, it seems it's not as simple as that. I have now deleted the Windows partition and reformatted it to ext3. My aim is to redistribute the free space.

My disk info now shows:

DEVICE FILESYSTEM TOTAL SPACE AVAILABLE SPACE
------ ---------- ----------- ---------------
15G Media ext3 14.0 GB 2.8 GB
10G Media ext3 9.8 GB 478.9 MB
Data ntfs 40.1 GB 17.7 GB
48G Media ext3 44.7 GB 42.2 GB

I want to be able to reallocate the space from the 48G Media to the 10G Media. Unfortunately, these are not contiguous partitions. The relevant parts of the partition table are:

DEVICE SIZE TYPE MOUNT START END
------ ---- ---- ----- ----- ---
/dev/sda 111.7 GB ST91208234AS 0 14592
/dev/sda1 45.4 GB Linux native /tmp 0 5931
/dev/sda2 40.0 GB HPFS/NTFS /windows/D 5936 11168
/dev/sda3 26.2 GB Extended 11169 14592
/dev/sda5 2.0 GB Linux swap swap 11169 11430
/dev/sda6 9.9 GB Linux native / 11431 12731
/dev/sda7 14.2 GB Linux native /home 12732 14592

I want to move the empty space at sda1 to the end of sda6. sda6 is almost out of space and I have had a couple of software installations failing because of that.

Is there an easy way of getting sda6 to use the space at sda1? I think that I'm at the limit of my Linux knowledge with this, so any help would need to have step by step instructions which a child could follow.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
About backup question. satimis Linux - General 12 06-29-2006 06:47 AM
backup question blockme Debian 3 05-28-2004 08:08 PM
Backup question TomH37 Linux - Software 1 05-24-2004 07:32 PM
Backup Question tuxedo-notebook Linux - General 5 04-16-2004 12:26 PM
Backup question chuck77 Linux - General 1 03-21-2002 03:45 AM


All times are GMT -5. The time now is 01:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration