[KDE 3.5.x - Darnya & Elyssa] - Migrating /home

Forum rules
Before you post please read how to get help

[KDE 3.5.x - Darnya & Elyssa] - Migrating /home

Postby rec9140 on Tue Apr 07, 2009 10:01 am

In an effort to make upgrades easier I am trying out setting up a separate partition for /home

I have a:
/swap
/
/home

What I am looking for is some input, I've seen too many examples of do this, do that, do this etc....

So I have a blank system, essentially, the only thing I've done to this test setup is all the updates. Its now sitting fully updated to Elyssa (I am not Felicia compatible).

As an example:

I use KMail and I want to migrate the existing setup (mail, filters, accounts, etc.) to the new box.

So should I install all the apps I installed first?

Then move the /home stuff?

Whats the best way to do this?

tar?
rsync?
keep?
I want to preserve permissions and UID's so tar or rsync seem to be the candidates for this step.

In the past this has not been an issue as the Linux boxes were never the primary, and didn't have all this data on it, but now they are the only machines. New Linux stuff came out I just blasted the old stuff away. Now Linux is the only game in town. :)

I'd like to do this in a way that should I be able to move past Elyssa I can do so by doing an install and pointing it to my /swap / /home partitions via the Install script.

Another item.... I set / to be 10GB and then the remainder (minus swap) of the drive is setup as the /home partition... is 10GB enough or should this be larger? Once again I've seen everyones comments on the "black art" of Linux partitioning..... / 10GB- Too small?

Comments, pointers.....

Thanks in advance.
Julep....mixing.....KDE Done right, and minty.
http://www.juleplinux.com

Its been a great 3 year run! Thanks for the fish.. but time for new waters....
User avatar
rec9140
Level 5
Level 5
 
Posts: 634
Joined: Wed Mar 12, 2008 4:58 pm

Linux Mint is funded by ads and donations.
 

Re: [KDE 3.5.x - Darnya & Elyssa] - Migrating /home

Postby dafi on Tue Apr 07, 2009 1:58 pm

Hm in a few weeks i will be at the same point :-) Hopefully my new PC will arrive here, if i manage to buy one - of course ;-)
First:
My root-Partition (/) is only 10GB but i am using only 4.5GB and according to filelight the biggest folder is /usr/share/games with 450MB :-) and /usr/lib/openoffice with 330MB.

At the moment i have a "data" Partition and a home Partition, migrating from windows, the data partition was at first a ntfs one but now its also an ext3. Perhaps my next PC has only one /home partition (and no data or something like that) - i dont really know at the moment because that would mean this partition is nearly 450GB big.

Migrating existing settings should be as easy as copying the whole /home to an ext3-formated external HDD and than copy it to your new PC
dafi
Level 1
Level 1
 
Posts: 34
Joined: Sat Sep 27, 2008 8:55 am

Re: [KDE 3.5.x - Darnya & Elyssa] - Migrating /home

Postby rec9140 on Tue Apr 07, 2009 4:06 pm

dafi wrote:Migrating existing settings should be as easy as copying the whole /home to an ext3-formated external HDD and than copy it to your new PC


Thats why I am looking to use tar or keep, as my external NAS and USB are not Linux disks, they are either NTFS or FAT because they are stock WD MyBook's that I have to share amongst lusers still using winviros etc..

So to preserve this tar or keep or something needs to come into play so it preserves these in the tar.gz and it won't matter where I store the tar.gz
Julep....mixing.....KDE Done right, and minty.
http://www.juleplinux.com

Its been a great 3 year run! Thanks for the fish.. but time for new waters....
User avatar
rec9140
Level 5
Level 5
 
Posts: 634
Joined: Wed Mar 12, 2008 4:58 pm

Re: [KDE 3.5.x - Darnya & Elyssa] - Migrating /home

Postby dafi on Wed Apr 08, 2009 3:12 am

Ah ok.
Hm i tested it... Compressed a file to tar.gz, copied it to a fat device and copied it back :-) the owner and groups are still the same and preserved inside the tar.gz-file
dafi
Level 1
Level 1
 
Posts: 34
Joined: Sat Sep 27, 2008 8:55 am


Return to KDE

Who is online

Users browsing this forum: No registered users and 6 guests